Do NOT ignore this template or your issue will have a very high chance to be closed without comment.
Describe the bug
When dev server rewriting relative import inside un-optimized node_modules, the rewrited path is wrong and cause 404 when request the child modules.
This is the same issue with #204 but I didn't provide reproduction. So I open this issue.
Reproduction
Here is a minimal reproduce:
https://github.com/csr632/test-vite/tree/wrong-resolve
System Info
- required
vite version: 0.16.6
Describe the bug
When dev server rewriting relative import inside un-optimized node_modules, the rewrited path is wrong and cause 404 when request the child modules.
This is the same issue with #204 but I didn't provide reproduction. So I open this issue.
Reproduction
Here is a minimal reproduce:
https://github.com/csr632/test-vite/tree/wrong-resolve
System Info
viteversion: 0.16.6