Fix Webpack config for development
This commit is contained in:
1 parent
4655a68593
commit
a7c714591a
1 file changed
+1
-1
@@ -22,7 +22,7 @@ var isProduction = process.argv.indexOf("-p") >= 0;
|
||||
console.log("Bundling for " + (isProduction ? "production" : "development") + "...");
|
||||
|
||||
module.exports = env => {
|
||||
const build_path = env.BUILD_PATH || resolve("../../../build/web")
|
||||
const build_path = (env||{}).BUILD_PATH || resolve("../../../build/web")
|
||||
const output_path = build_path + "/ui/";
|
||||
const api_path = build_path + "/api/";
|
||||
return {
|
||||
|
||||
Reference in new issue
Block a user