deps: remove useless dependencies

This commit is contained in:
Benjy Cui
2016-03-31 16:47:03 +08:00
parent d75c0d0b24
commit 2a3febfe4c
4 changed files with 5 additions and 174 deletions

View File

@@ -1,5 +1,3 @@
var autoprefixer = require('autoprefixer');
module.exports = function(webpackConfig) {
if (process.env.ANTD === 'WEBSITE') {
webpackConfig.entry = {
@@ -34,11 +32,5 @@ module.exports = function(webpackConfig) {
webpackConfig.output.libraryTarget = 'umd';
}
webpackConfig.postcss = [
autoprefixer({
browsers: ['last 2 versions', 'Firefox ESR', '> 1%', 'ie >= 8']
})
];
return webpackConfig;
};