ant-design/webpack.config.production.js

13 lines
341 B
JavaScript
Raw Normal View History

2015-07-21 12:02:15 +08:00
// webpack.config.production.js
// release full dist files
var pkg = require('./package');
var webpack = require("webpack");
var ExtractTextPlugin = require("extract-text-webpack-plugin");
var config = require("./webpack.config.js");
delete config.entry.demo;
delete config.entry[pkg.name];
2015-08-25 14:46:42 +08:00
delete config.devtool;
2015-07-21 12:02:15 +08:00
module.exports = config;