From 88e696b15521c80d4e0f3843660b12e3260c8813 Mon Sep 17 00:00:00 2001 From: zhutianjian Date: Thu, 6 Apr 2023 16:23:19 +0800 Subject: [PATCH] =?UTF-8?q?fix(h5):=20=E4=BF=AE=E5=A4=8D=20h5=20=E4=BE=9D?= =?UTF-8?q?=E8=B5=96=E5=AF=BC=E5=87=BA=E5=A4=B1=E8=B4=A5=E9=97=AE=E9=A2=98?= =?UTF-8?q?=20fix=20#13586?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/taro-platform-h5/rollup.config.js | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/packages/taro-platform-h5/rollup.config.js b/packages/taro-platform-h5/rollup.config.js index 32e5120f1681..63e92d7d950f 100644 --- a/packages/taro-platform-h5/rollup.config.js +++ b/packages/taro-platform-h5/rollup.config.js @@ -65,13 +65,7 @@ const variesConfig = [{ format: 'cjs', inlineDynamicImports: true }, - plugins: getPlugins([ - externals({ - deps: true, - devDeps: false, - exclude: ['@tarojs/components', '@tarojs/taro-h5'] - }) - ], [exportNameOnly()]) + plugins: getPlugins([exportNameOnly()]) }] if (process.env.NODE_ENV === 'production') {