Open lucafalasco opened 3 years ago
Also maybe this line should be reverted?
It would work perfectly if reading the path from config.output.path
Oops didn't realize that was an issue, I'll put back the config.output.path
thing.
Done.
@marcofugaro nice, although I'm going to reopen this for the main issue which is supporting a BUILD_PATH
env variable ok?
Sure, is setting it from the webpack.config.js
not enough?
Would be nice to change the path of the production folder, in my use case we have to create different folders at build time for each different language. Example:
BUILD_PATH=build/fr
https://github.com/accurat/accurapp/blob/7c87d0dcbe6ef0d4ce20fa1c249bbfa08523843e/packages/webpack-preset-accurapp/index.js#L300