mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-03 20:49:14 +08:00
Merge pull request #59 from ant-design/update-uglifyjs-opts
update uglify opts, transform unicode to ascii
This commit is contained in:
commit
5468ec86c4
6
webpack.config.min.js
vendored
6
webpack.config.min.js
vendored
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user