mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 05:35:13 +00:00
fix(nuxt): pass fully resolved path to nitro dist files (#7494)
This commit is contained in:
parent
4d91ededb1
commit
5855ba4684
@ -70,7 +70,8 @@ export async function initNitro (nuxt: Nuxt) {
|
||||
nuxt.options.buildDir
|
||||
]),
|
||||
'nuxt/dist',
|
||||
'nuxt3/dist'
|
||||
'nuxt3/dist',
|
||||
distDir
|
||||
]
|
||||
},
|
||||
alias: {
|
||||
|
@ -72,8 +72,8 @@ export async function buildServer (ctx: ViteBuildContext) {
|
||||
/\.(es|esm|esm-browser|esm-bundler).js$/,
|
||||
'/__vue-jsx',
|
||||
'#app',
|
||||
/(nuxt|nuxt3)\/(dist|src|app)/,
|
||||
/@nuxt\/nitro\/(dist|src)/
|
||||
/^nuxt(\/|$)/,
|
||||
/(nuxt|nuxt3)\/(dist|src|app)/
|
||||
]
|
||||
},
|
||||
build: {
|
||||
|
Loading…
Reference in New Issue
Block a user