-
-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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 2.8+ make gradient-parser not importable #6994
Labels
Comments
issue with esbuild - https://stackblitz.com/edit/node-ngpy2a?file=package.json |
Reproduced this issue as well; main.js import Vue3ColorPicker from 'vue3-colorpicker';
import 'vue3-colorpicker/style.css';
createApp(App).use(Vue3ColorPicker).mount('#app'); console error on load:
debug point: Pinning |
FYI this is the issue in esbuild repo. evanw/esbuild#2080 |
I confirmed this was fixed with esbuild 0.14.26. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
Describe the bug
I use this way to import
gradient-parser
:In Vite 2.7, it works well, but since Vite 2.8, it doesn't work. Creating a minimal Vue app, I got this error in browser console:
Comparing code generated by Vite 2.7 and Vite 2.8, I found that with Vite 2.8, this line is lost:
Reproduction
https://stackblitz.com/edit/vitejs-vite-ohr9np?file=main.js&terminal=dev
System Info
Used Package Manager
yarn
Logs
Validations
The text was updated successfully, but these errors were encountered: