From ae306c43e56257076a86d47dc0548daac856ac54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=81=8F=E5=8F=B3?= Date: Wed, 18 Dec 2019 12:29:17 +0800 Subject: [PATCH] :wrench: remove css-split-webpack-plugin which is useless in 4.0 (#20320) --- site/bisheng.config.js | 2 -- 1 file changed, 2 deletions(-) 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'),