feat: allow specifying if platform is web or not

This commit is contained in:
Baptiste Grob
2020-08-12 21:21:25 +02:00
parent 2fb6adb6ea
commit efc75965ca
3 changed files with 8 additions and 6 deletions

View File

@@ -1,7 +1,7 @@
const merge = require('webpack-merge');
const config = require('./webpack.config.js');
module.exports = merge(config, {
module.exports = (env, argv) => merge(config(env, argv), {
mode: 'production',
devtool: 'source-map',
});