fix(vite): add missing #build alias

This commit is contained in:
Pooya Parsa 2021-07-15 12:50:09 +02:00
parent a3b11c0ea8
commit e1d44262a5

View File

@ -36,6 +36,7 @@ export async function bundle (nuxt: Nuxt) {
alias: {
...nuxt.options.alias,
'#app': nuxt.options.appDir,
'#build': nuxt.options.buildDir,
'/__app': nuxt.options.appDir,
'/__build': nuxt.options.buildDir,
'~': nuxt.options.srcDir,