mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-26 15:42:09 +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',
|
filename: 'paths.mjs',
|
||||||
getContents ({ nuxt }) {
|
getContents ({ nuxt }) {
|
||||||
return [
|
return [
|
||||||
'import { joinURL } from \'ufo\'',
|
'import { joinRelativeURL as joinURL } from \'ufo\'',
|
||||||
!nuxt.options.dev && 'import { useRuntimeConfig } from \'#internal/nitro\'',
|
!nuxt.options.dev && 'import { useRuntimeConfig } from \'#internal/nitro\'',
|
||||||
|
|
||||||
nuxt.options.dev
|
nuxt.options.dev
|
||||||
|
@ -855,7 +855,7 @@ importers:
|
|||||||
devDependencies:
|
devDependencies:
|
||||||
ufo:
|
ufo:
|
||||||
specifier: latest
|
specifier: latest
|
||||||
version: 1.5.0
|
version: 1.5.1
|
||||||
unplugin:
|
unplugin:
|
||||||
specifier: latest
|
specifier: latest
|
||||||
version: 1.10.0
|
version: 1.10.0
|
||||||
@ -10616,10 +10616,6 @@ packages:
|
|||||||
resolution: {integrity: sha512-DffL94LsNOccVn4hyfRe5rdKa273swqeA5DJpMOeFmEn1wCDc7nAbbB0gXlgBCL7TNzeTv6G7XVWzan7iJtfig==}
|
resolution: {integrity: sha512-DffL94LsNOccVn4hyfRe5rdKa273swqeA5DJpMOeFmEn1wCDc7nAbbB0gXlgBCL7TNzeTv6G7XVWzan7iJtfig==}
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/ufo@1.5.0:
|
|
||||||
resolution: {integrity: sha512-c7SxU8XB0LTO7hALl6CcE1Q92ZrLzr1iE0IVIsUa9SlFfkn2B2p6YLO6dLxOj7qCWY98PB3Q3EZbN6bEu8p7jA==}
|
|
||||||
dev: true
|
|
||||||
|
|
||||||
/ufo@1.5.1:
|
/ufo@1.5.1:
|
||||||
resolution: {integrity: sha512-HGyF79+/qZ4soRvM+nHERR2pJ3VXDZ/8sL1uLahdgEDf580NkgiWOxLk33FetExqOWp352JZRsgXbG/4MaGOSg==}
|
resolution: {integrity: sha512-HGyF79+/qZ4soRvM+nHERR2pJ3VXDZ/8sL1uLahdgEDf580NkgiWOxLk33FetExqOWp352JZRsgXbG/4MaGOSg==}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user