good first issue🔨 p3-minor
Description
Environment
- Operating System: Linux
- Node Version: v20.14.0
- Nuxt Version: 3.12.4
- CLI Version: 3.12.0
- Nitro Version: 2.9.7
- Package Manager: pnpm@9.4.0
- Builder: -
- User Config: ssr, app, compatibilityDate, modules
- Runtime Modules: @nuxt/ui@2.18.4
- Build Modules: -
Reproduction
https://stackblitz.com/edit/github-feikgn?file=package.json
Describe the bug
When setting app.baseURL to ./, it gets ignored when using nuxt generate and the generated links in dist/index.html point to href=/.nuxt/.. instead of href=./.nuxt/..
Additional context
I'm using ssr: false, but when I remove this/set it to ssr: true, the generated rel="preload" link is the only one that has the correct ./ prefix in the href.
When using anything else, it works fine. My current approach is setting the value to /replaceMeWith./ and then replacing all occurences, but this isn't ideal and shouldn't be needed.
Logs
No response