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 ]