Merge branch 'master' of github.com:ant-design/ant-design

This commit is contained in:
afc163 2015-07-22 15:28:37 +08:00
commit e922af5e55

View File

@ -7,7 +7,11 @@ var config = require("./webpack.config.js");
config.plugins = [
new ExtractTextPlugin('[name].min.css'),
new webpack.optimize.UglifyJsPlugin()
new webpack.optimize.UglifyJsPlugin({
output: {
ascii_only: true
}
})
];
config.output.filename = config.output.filename.replace(/\.js$/, ".min.js");
delete config.entry.demo;