Fix Webpack config for development

This commit is contained in:
Michael Harding authored and Kevin Darby committed 2018-06-01 13:46:10 -04:00
1 parent 4655a68593
commit a7c714591a
1 file changed
+1 -1
+1 -1
View File
@@ -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 {