From b843f9d9325614d2388e532103bc1f39b0199a64 Mon Sep 17 00:00:00 2001 From: chenjiajian <798095202@qq.com> Date: Wed, 15 Jun 2022 15:25:55 +0800 Subject: [PATCH] =?UTF-8?q?fix(webpack5):=20webpack5=20=E6=9A=82=E4=B8=8D?= =?UTF-8?q?=E6=94=AF=E6=8C=81=E5=B0=8F=E7=A8=8B=E5=BA=8F=E5=BC=80=E5=8F=91?= =?UTF-8?q?=E8=80=85=E5=B7=A5=E5=85=B7=E7=83=AD=E6=9B=B4=E6=96=B0=EF=BC=8C?= =?UTF-8?q?fix=20#11911?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/taro-webpack5-runner/src/webpack/MiniWebpackPlugin.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/taro-webpack5-runner/src/webpack/MiniWebpackPlugin.ts b/packages/taro-webpack5-runner/src/webpack/MiniWebpackPlugin.ts index 7278b8690db1..58b6b86c3c59 100644 --- a/packages/taro-webpack5-runner/src/webpack/MiniWebpackPlugin.ts +++ b/packages/taro-webpack5-runner/src/webpack/MiniWebpackPlugin.ts @@ -151,7 +151,7 @@ export class MiniWebpackPlugin { alias: config.alias || {}, constantsReplaceList: definePluginOptions, /** building mode */ - hot: config.hot || false, + hot: false, prerender: config.prerender, blended: config.blended, isBuildNativeComp,