Commit e9bf211b authored by wildfirecode's avatar wildfirecode

1

parent 02312018
......@@ -12,14 +12,16 @@ let config = opts => {
plugins: [
new UglifyJSPlugin(
{ sourceMap: true }
), new webpack.DefinePlugin({
),
new webpack.DefinePlugin({
'process.env.NODE_ENV': JSON.stringify('production')
})
],
output: {
filename: `./${opts.BUILD_SKIN}/bin-release/output.js`,
path: process.cwd()
}
},
mode:"production"
});
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment