ant-design/webpack.deploy.config.js
2016-01-14 02:37:52 +08:00

13 lines
246 B
JavaScript

var webpack = require('webpack');
var config = require('./webpack.config');
delete config.devtool;
config.plugins.push(new webpack.optimize.UglifyJsPlugin({
sourceMap: false,
output: {
ascii_only: true
}
}));
module.exports = config;