mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-26 15:42:09 +00:00
fix(nitro): don't externalize @nuxt, virtual: and #
This commit is contained in:
parent
a806e8ca01
commit
5e0abbcb1b
@ -222,7 +222,10 @@ export const getRollupConfig = (nitroContext: NitroContext) => {
|
|||||||
nitroContext._nuxt.rootDir,
|
nitroContext._nuxt.rootDir,
|
||||||
nitroContext._nuxt.buildDir,
|
nitroContext._nuxt.buildDir,
|
||||||
'vue',
|
'vue',
|
||||||
'@vue/'
|
'@vue/',
|
||||||
|
'@nuxt/',
|
||||||
|
'#',
|
||||||
|
'virtual:'
|
||||||
]) || []),
|
]) || []),
|
||||||
nitroContext._nuxt.serverDir,
|
nitroContext._nuxt.serverDir,
|
||||||
...nitroContext.middleware.map(m => m.handle)
|
...nitroContext.middleware.map(m => m.handle)
|
||||||
|
Loading…
Reference in New Issue
Block a user