subspace/webpack.prod.js
Richard Ramos 6cf911741b
fix: react - pt1. (#27)
* fix: set packages as external

* fix: reducing bundle size

* fix: extracting react observer to its own folder, and moved test/observables to examples/react
2019-09-03 21:16:06 -04:00

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);