mirror of
https://github.com/ant-design/ant-design.git
synced 2026-02-09 02:49:18 +08:00
deps: remove useless dependencies
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user