mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-16 19:57:52 +01:00
16 lines
392 B
JavaScript
16 lines
392 B
JavaScript
// 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;
|
|
|
|
config.mode = "production";
|
|
|
|
webpack(config, function (err) {
|
|
if (err) throw err;
|
|
});
|