mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-01 03:29:39 +08:00
14 lines
290 B
JavaScript
14 lines
290 B
JavaScript
var webpack = require('webpack');
|
|
var config = require('./webpack.config');
|
|
|
|
delete config.devtool;
|
|
config.entry.demo = [config.entry.demo[0]];
|
|
config.plugins.push(new webpack.optimize.UglifyJsPlugin({
|
|
sourceMap: false,
|
|
output: {
|
|
ascii_only: true
|
|
}
|
|
}));
|
|
|
|
module.exports = config;
|