diff --git a/src/rollup/config.ts b/src/rollup/config.ts index 8906346035..6f0960e436 100644 --- a/src/rollup/config.ts +++ b/src/rollup/config.ts @@ -222,7 +222,10 @@ export const getRollupConfig = (nitroContext: NitroContext) => { nitroContext._nuxt.rootDir, nitroContext._nuxt.buildDir, 'vue', - '@vue/' + '@vue/', + '@nuxt/', + '#', + 'virtual:' ]) || []), nitroContext._nuxt.serverDir, ...nitroContext.middleware.map(m => m.handle)