mirror of
https://github.com/wahyd4/ant-design.git
synced 2026-08-24 12:16:21 +10:00
update uglify opts, transform unicode to ascii
This commit is contained in:
Vendored
+5
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user