ant-design/webpack.deploy.config.js

13 lines
246 B
JavaScript
Raw Normal View History

2016-01-14 02:37:52 +08:00
var webpack = require('webpack');
2015-10-20 17:10:21 +08:00
var config = require('./webpack.config');
2016-01-14 02:37:52 +08:00
delete config.devtool;
config.plugins.push(new webpack.optimize.UglifyJsPlugin({
sourceMap: false,
output: {
ascii_only: true
}
}));
2015-10-20 17:10:21 +08:00
module.exports = config;