
* 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
16 lines
No EOL
360 B
JavaScript
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
|
|
}
|
|
})],
|
|
}
|
|
}) |