parameter in import() contains a variable, the file path will not be found after packing. #16493
Open
7 tasks done
Labels
p3-minor-bug
An edge case that only affects very specific usage (priority)
Describe the bug
If the parameter in Import() contains a variable, the file path will not be found after packing.
raw code:
after build and run in web:
Reproduction
https://stackblitz.com/edit/vitejs-vite-f7q285?file=main.js,test%2Ftest.js&terminal=dev
Steps to reproduce
No response
System Info
Used Package Manager
pnpm
Logs
No response
Validations
The text was updated successfully, but these errors were encountered: