webssh2/webpack.prod.js
billchurch ff875f92db magnification, resize logic
- minification is now default, utilize ‘webpack*.js’ scripts to change
behavior and run ‘npm run rebuild’
- sizing and resize takes into account optional headers (#header) and
footer (#footer)
2018-02-10 10:11:28 -05:00

17 lines
361 B
JavaScript

const merge = require('webpack-merge')
const UglifyJSPlugin = require('uglifyjs-webpack-plugin')
const common = require('./webpack.common.js')
module.exports = merge(common, {
plugins: [
new UglifyJSPlugin({
uglifyOptions: {
ie8: false,
output: {
comments: false,
beautify: false
}
}
})
]
})