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

Commit

Permalink
fix: try without setting dynamicRequireTargets
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe committed Apr 6, 2023
1 parent 7caacf1 commit cb82f3c
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions packages/nuxt/src/core/nitro.ts
Expand Up @@ -179,18 +179,6 @@ export async function initNitro (nuxt: Nuxt & { _nitro?: Nitro }) {
rollupConfig: {
output: {},
plugins: []
},
commonJS: {
dynamicRequireTargets: (!nuxt.options.experimental.externalVue && nuxt.options.vue.runtimeCompiler)
? [
'node_modules/**/vue',
'node_modules/**/@vue/compiler-core',
'node_modules/**/@vue/compiler-dom',
'node_modules/**/@vue/compiler-ssr',
'node_modules/**/vue/server-renderer',
'node_modules/**/estree-walker'
]
: undefined
}
})

Expand Down

0 comments on commit cb82f3c

Please sign in to comment.