From 5ed5f632912cee192035b6ea7a9b4676188650a6 Mon Sep 17 00:00:00 2001 From: lexmin0412 Date: Mon, 1 Jul 2024 20:31:14 +0800 Subject: [PATCH] =?UTF-8?q?fix(config):=20=E4=BF=AE=E5=A4=8D=E5=B0=8F?= =?UTF-8?q?=E7=A8=8B=E5=BA=8F=E7=AB=AF=E7=BC=96=E8=AF=91=E6=8A=A5=20prebun?= =?UTF-8?q?dle=20=E6=96=87=E4=BB=B6=E6=89=BE=E4=B8=8D=E5=88=B0=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/index.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/config/index.js b/config/index.js index d1e874d..b65adb5 100755 --- a/config/index.js +++ b/config/index.js @@ -25,7 +25,12 @@ const config = { patterns: [], options: {}, }, - compiler: 'webpack5', + compiler: { + type: 'webpack5', + prebundle: { + exclude: ['@nutui/nutui-react-taro'] + } + }, framework: 'react', mini: { postcss: {