You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
378 B
JavaScript
15 lines
378 B
JavaScript
10 years ago
|
// 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");
|
||
|
|
||
|
config.plugins = [
|
||
|
new ExtractTextPlugin('[name].css')
|
||
|
];
|
||
|
delete config.entry.demo;
|
||
|
delete config.entry[pkg.name];
|
||
|
|
||
|
module.exports = config;
|