mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 13:45:18 +00:00
fix(nuxt): use joinRelativeURL
for build assets (#26282)
This commit is contained in:
parent
92929cee17
commit
0362ebf43c
@ -326,7 +326,7 @@ export const publicPathTemplate: NuxtTemplate = {
|
||||
filename: 'paths.mjs',
|
||||
getContents ({ nuxt }) {
|
||||
return [
|
||||
'import { joinURL } from \'ufo\'',
|
||||
'import { joinRelativeURL as joinURL } from \'ufo\'',
|
||||
!nuxt.options.dev && 'import { useRuntimeConfig } from \'#internal/nitro\'',
|
||||
|
||||
nuxt.options.dev
|
||||
|
@ -855,7 +855,7 @@ importers:
|
||||
devDependencies:
|
||||
ufo:
|
||||
specifier: latest
|
||||
version: 1.5.0
|
||||
version: 1.5.1
|
||||
unplugin:
|
||||
specifier: latest
|
||||
version: 1.10.0
|
||||
@ -10616,10 +10616,6 @@ packages:
|
||||
resolution: {integrity: sha512-DffL94LsNOccVn4hyfRe5rdKa273swqeA5DJpMOeFmEn1wCDc7nAbbB0gXlgBCL7TNzeTv6G7XVWzan7iJtfig==}
|
||||
dev: true
|
||||
|
||||
/ufo@1.5.0:
|
||||
resolution: {integrity: sha512-c7SxU8XB0LTO7hALl6CcE1Q92ZrLzr1iE0IVIsUa9SlFfkn2B2p6YLO6dLxOj7qCWY98PB3Q3EZbN6bEu8p7jA==}
|
||||
dev: true
|
||||
|
||||
/ufo@1.5.1:
|
||||
resolution: {integrity: sha512-HGyF79+/qZ4soRvM+nHERR2pJ3VXDZ/8sL1uLahdgEDf580NkgiWOxLk33FetExqOWp352JZRsgXbG/4MaGOSg==}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user