From daaf02f5e4dd19d907d511f4a139f36d11db1b5b Mon Sep 17 00:00:00 2001 From: Pooya Parsa Date: Sun, 18 Apr 2021 18:37:21 +0200 Subject: [PATCH] fix(webpack): exclude ! for externals --- packages/webpack/src/configs/server.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/webpack/src/configs/server.ts b/packages/webpack/src/configs/server.ts index 07cd76cd40..78cc108160 100644 --- a/packages/webpack/src/configs/server.ts +++ b/packages/webpack/src/configs/server.ts @@ -38,6 +38,7 @@ function serverStandalone (ctx: WebpackConfigContext) { 'nuxt/build', '@nuxt/app', 'vuex5', + '!', '-!', ...ctx.options.build.transpile ]