Created by: pseudomuto
@gaearon
The Problem
I'm developing an application that already has a file named BUILD
in the root of the project. On most nix systems, this would be totally fine, but OSX and Windows have case-insensitive file systems.
Since BUILD
already exists, when I run yarn build
it complains about the conflicting file/dir name.
The Solution
I've updated config/paths.js to optionally accept process.env.BUILD_DIR
. If supplied, this will be used for the target path of the build.
If it's not supplied, everything works the same as it does now.