subspace/webpack.prod.js

13 lines
255 B
JavaScript

const merge = require("webpack-merge");
const common = require("./webpack.common.js");
const mode_config = {};
Object.keys(common).forEach(k => {
mode_config[k] = {
mode: "production"
}
});
module.exports = merge.multiple(common, mode_config);