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

Commit

Permalink
fix: no need to trace server-renderer with externalVue
Browse files Browse the repository at this point in the history
  • Loading branch information
huang-julien committed Apr 6, 2023
1 parent 3f6acce commit b74a152
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/nuxt/src/core/nitro.ts
Expand Up @@ -129,7 +129,7 @@ export async function initNitro (nuxt: Nuxt & { _nitro?: Nitro }) {
],
traceInclude: [
// force include files used in generated code from the runtime-compiler
...(nuxt.options.experimental.runtimeVueCompiler)
...(nuxt.options.experimental.runtimeVueCompiler && !nuxt.options.experimental.externalVue)
? [
...nuxt.options.modulesDir.reduce<string[]>((targets, path) => {
const serverRendererPath = resolve(path, 'vue/server-renderer/index.js')
Expand Down

0 comments on commit b74a152

Please sign in to comment.