Added manifest building.

This commit is contained in:
Ajay Ramachandran
2020-02-04 01:32:58 -05:00
parent da364b49f0
commit 09a33c4252
11 changed files with 173 additions and 91 deletions

View File

@@ -1,6 +1,11 @@
const merge = require('webpack-merge');
const common = require('./webpack.common.js');
module.exports = merge(common, {
mode: 'production'
});
module.exports = env => {
let mode = "production";
env.mode = mode;
return merge(common(env), {
mode
});
};