New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vite.config resolve.extensions.length=0 is error #4174
Labels
Comments
hi @antfu ,I have other problem is not solved. Please help
This config in vite 2.3.8 is work ok, Thanks♪(・ω・)ノ |
jeff-fe
changed the title
vite.config resolve.extensions.lenght=0 is error
vite.config resolve.extensions.length=0 is error
Jul 8, 2021
I am fixing this problem, because PR #4061 changed vite/packages/vite/src/node/constants.ts Line 44 in d377aae
Adding resolve: {
extensions: ['.js','.mjs']
} |
Thanks @ygj6 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Describe the bug
Reproduction
vite 2.4.1
System Info
Used Package Manager
npm
Logs
No response
Validations
The text was updated successfully, but these errors were encountered: