Skip to content

Commit

Permalink
fix(nitro): don't externalize @nuxt, virtual: and #
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Apr 28, 2021
1 parent a5a23b7 commit e53e297
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/rollup/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit e53e297

Please sign in to comment.