2019-08-23 18:31:50 +00:00
|
|
|
|
|
|
|
const merge = require("webpack-merge");
|
|
|
|
const common = require("./webpack.common.js");
|
|
|
|
|
2019-09-04 01:16:06 +00:00
|
|
|
const mode_config = {};
|
|
|
|
Object.keys(common).forEach(k => {
|
|
|
|
mode_config[k] = {
|
|
|
|
mode: "production"
|
2019-08-23 18:31:50 +00:00
|
|
|
}
|
|
|
|
});
|
2019-09-04 01:16:06 +00:00
|
|
|
|
|
|
|
module.exports = merge.multiple(common, mode_config);
|