Also warn when absolute file paths include ?
during build (relates to #14165
)
#15726
Closed
7 tasks done
Labels
Describe the bug
As per issue #14165 you should also warn when paths include
?
, since those paths will fail miserably as well.I guess the reason is that ESM uses URLs for imports, and what follows after
?
and#
are not part of the path in an URL.Paths including any other URL-reserved character seems to be resolved correctly (but don't quote me on that).
Reproduction
https://stackblitz.com/edit/vitejs-vite-vxwonj?file=main.js
Steps to reproduce
No response
System Info
Used Package Manager
npm
Logs
Build error output
Validations
The text was updated successfully, but these errors were encountered: