mirror of
https://github.com/nuxt/nuxt.git
synced 2025-02-22 16:39:58 +00:00
fix(vite): override previous #app-manifest
alias (#30618)
This commit is contained in:
parent
71edf68111
commit
306cabc7b9
@ -110,12 +110,12 @@ export async function buildClient (ctx: ViteBuildContext) {
|
|||||||
},
|
},
|
||||||
resolve: {
|
resolve: {
|
||||||
alias: {
|
alias: {
|
||||||
// work around vite optimizer bug
|
|
||||||
'#app-manifest': 'unenv/runtime/mock/empty',
|
|
||||||
// user aliases
|
// user aliases
|
||||||
...nodeCompat.alias,
|
...nodeCompat.alias,
|
||||||
...ctx.config.resolve?.alias,
|
...ctx.config.resolve?.alias,
|
||||||
'#internal/nitro': join(ctx.nuxt.options.buildDir, 'nitro.client.mjs'),
|
'#internal/nitro': join(ctx.nuxt.options.buildDir, 'nitro.client.mjs'),
|
||||||
|
// work around vite optimizer bug
|
||||||
|
'#app-manifest': 'unenv/runtime/mock/empty',
|
||||||
},
|
},
|
||||||
dedupe: [
|
dedupe: [
|
||||||
'vue',
|
'vue',
|
||||||
|
Loading…
Reference in New Issue
Block a user