fix(vite): set #build/plugins alias to empty string (#1489)

This commit is contained in:
Daniel Roe 2021-10-27 09:03:10 +01:00 committed by GitHub
parent 8ae1f47393
commit 096f0679f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -39,7 +39,7 @@ export async function bundle (nuxt: Nuxt) {
'#app': nuxt.options.appDir,
// We need this resolution to be present before the following entry, but it
// will be filled in client/server configs
'#build/plugins': undefined,
'#build/plugins': '',
'#build': nuxt.options.buildDir,
'/build': nuxt.options.buildDir,
'/app': nuxt.options.appDir,