mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 02:59:58 +08:00
🔧 remove css-split-webpack-plugin which is useless in 4.0 (#20320)
This commit is contained in:
parent
4d6bcf4978
commit
ae306c43e5
@ -1,5 +1,4 @@
|
||||
const path = require('path');
|
||||
const CSSSplitWebpackPlugin = require('css-split-webpack-plugin').default;
|
||||
const replaceLib = require('@ant-design/tools/lib/replaceLib');
|
||||
const getWebpackConfig = require('@ant-design/tools/lib/getWebpackConfig');
|
||||
const { version } = require('../package.json');
|
||||
@ -138,7 +137,6 @@ module.exports = {
|
||||
type: 'javascript/auto',
|
||||
});
|
||||
|
||||
config.plugins.push(new CSSSplitWebpackPlugin({ size: 4000 }));
|
||||
config.plugins.push(
|
||||
new webpack.DefinePlugin({
|
||||
antdReproduceVersion: JSON.stringify(isNextVersion ? 'next' : 'latest'),
|
||||
|
Loading…
Reference in New Issue
Block a user