dev server error 500 ERR_LOAD_URL if app.buildAssetsDir
same as source directory name
#24035
Labels
app.buildAssetsDir
same as source directory name
#24035
Environment
Reproduction
https://stackblitz.com/edit/github-hcnr1y-8cm86s?file=nuxt.config.ts
Describe the bug
If you try to import a global css, which resides in a source directory with a name same as the
app.buildAssetsDir
, the dev server will not load the file.i.e.:
Affects
nuxi dev
only.However,
build
andgenerate
are fine.error shown:
Additional context
You can confirm it is a bug by changing the
app.buildAssetsDir
to something else, e.g.abc1
, then it will work again.Logs
No response
The text was updated successfully, but these errors were encountered: