fix(webpack): do not resolve #internal/nitro alias internally (#5987)

This commit is contained in:
Daniel Roe 2022-07-20 17:59:05 +01:00 committed by GitHub
parent 72c3af7fc5
commit bdbeb886ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -54,7 +54,6 @@ export const DynamicBasePlugin = createUnplugin(function (options: DynamicBasePl
if (id.startsWith('/__NUXT_BASE__')) {
return id.replace('/__NUXT_BASE__', '')
}
if (id === '#internal/nitro') { return '#internal/nitro' }
return null
},
enforce: 'post',