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

Commit e2d052d

Browse files
authored
Update packages/vite/src/server.ts
1 parent 0860940 commit e2d052d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/vite/src/server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export async function buildServer (ctx: ViteBuildContext) {
4444
}
4545
},
4646
ssr: {
47-
external: ctx.nuxt.options.experimental.externalVue ? ['#internal/nitro', 'vue', 'vue-router'] : [],
47+
external: ctx.nuxt.options.experimental.externalVue ? ['#internal/nitro', 'vue', 'vue-router'] : ['#internal/nitro'],
4848
noExternal: [
4949
...ctx.nuxt.options.build.transpile,
5050
// TODO: Use externality for production (rollup) build

0 commit comments

Comments
 (0)