const webpack = require('webpack') exports = require('./webpack.base') exports.output.filename = 'eruda.min.js' exports.devtool = false exports.plugins = exports.plugins.concat([ new webpack.optimize.UglifyJsPlugin({ compress: { warnings: false }, output: { ascii_only: true }, comments: /eruda v/ }), new webpack.DefinePlugin({ ENV: '"production"' }) ]) module.exports = exports