Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

Commit

Permalink
fix: add #internal/nitro/utils explicitly to externals
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe committed Jun 13, 2022
1 parent 7df482e commit 776c6db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vite/src/server.ts
Expand Up @@ -40,7 +40,7 @@ export async function buildServer (ctx: ViteBuildContext) {
}
},
ssr: {
external: ctx.nuxt.options.experimental.externalVue ? ['#internal/nitro', 'vue', 'vue-router'] : ['#internal/nitro'],
external: ctx.nuxt.options.experimental.externalVue ? ['#internal/nitro', '#internal/nitro/utils', 'vue', 'vue-router'] : ['#internal/nitro', '#internal/nitro/utils'],
noExternal: [
...ctx.nuxt.options.build.transpile,
// TODO: Use externality for production (rollup) build
Expand Down

0 comments on commit 776c6db

Please sign in to comment.