This commit is contained in:
franklin
2024-07-12 22:00:06 +01:00
commit a222d266bd
823 changed files with 108626 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
// Do this as the first thing so that any code reading it knows the right env.
process.env.BABEL_ENV = "production";
process.env.NODE_ENV = "production";
process.env.ASSET_PATH = "/";
var webpack = require("webpack"),
config = require("../webpack.config");
//delete config.chromeExtensionBoilerplate;
delete config.custom;
config.mode = "production";
webpack(config, function (err) {
if (err) throw err;
});