mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-30 01:17:16 +00:00
fix(webpack): do not resolve #internal/nitro
alias internally (#5987)
This commit is contained in:
parent
72c3af7fc5
commit
bdbeb886ae
@ -54,7 +54,6 @@ export const DynamicBasePlugin = createUnplugin(function (options: DynamicBasePl
|
|||||||
if (id.startsWith('/__NUXT_BASE__')) {
|
if (id.startsWith('/__NUXT_BASE__')) {
|
||||||
return id.replace('/__NUXT_BASE__', '')
|
return id.replace('/__NUXT_BASE__', '')
|
||||||
}
|
}
|
||||||
if (id === '#internal/nitro') { return '#internal/nitro' }
|
|
||||||
return null
|
return null
|
||||||
},
|
},
|
||||||
enforce: 'post',
|
enforce: 'post',
|
||||||
|
Loading…
Reference in New Issue
Block a user