mirror of
https://github.com/liriliri/eruda.git
synced 2026-03-24 09:48:37 +08:00
Change format options
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user