diff --git a/site/bisheng.config.js b/site/bisheng.config.js index 2be87e2a5d..6b6cb3409a 100644 --- a/site/bisheng.config.js +++ b/site/bisheng.config.js @@ -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'),