webssh2/app/scripts/webpack.prod.js
Bill Church ca20321625
update build environment (#157)
* Accept default username/password overrides from config. Clarified supplying custom config. (#146)

* feat(auth): username and password may now be sourced from config.json fixes #104

* style:remove test changelog

* build:remove uglify from build process and reaplce with terser

* style:format changelog
2019-11-15 13:01:51 -05:00

16 lines
No EOL
360 B
JavaScript

const TerserPlugin = require('terser-webpack-plugin');
const merge = require('webpack-merge')
const common = require('./webpack.common.js')
module.exports = merge(common, {
optimization: {
minimize: true,
minimizer: [new TerserPlugin({
terserOptions: {
parallel: 4,
ie8: false,
safari10: false
}
})],
}
})