Change format options

This commit is contained in:
redhoodsu
2018-06-16 18:07:12 +08:00
parent f88f8963b4
commit 12f82b6035
69 changed files with 5527 additions and 5627 deletions

View File

@@ -1,19 +1,19 @@
var webpack = require('webpack');
var webpack = require('webpack')
exports = require('./webpack.base');
exports = require('./webpack.base')
exports.output.filename = 'eruda.min.js';
exports.devtool = false;
exports.output.filename = 'eruda.min.js'
exports.devtool = false
exports.plugins = exports.plugins.concat([
new webpack.optimize.UglifyJsPlugin({
compress: {
warnings: false
},
comments: /eruda/
}),
new webpack.DefinePlugin({
ENV: '"production"'
})
]);
new webpack.optimize.UglifyJsPlugin({
compress: {
warnings: false
},
comments: /eruda/
}),
new webpack.DefinePlugin({
ENV: '"production"'
})
])
module.exports = exports;
module.exports = exports