-
Notifications
You must be signed in to change notification settings - Fork 415
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
Linaria doesn't work with Vite 4.3 in dev mode #1236
Labels
bug report 🦗
Issue is probably a bug, but it needs to be checked
bundler: webpack 📦
Issue is related to webpack bundler
needs: complete repro 🖥️
Issue need to have complete repro provided
Comments
nstepien
added
bug report 🦗
Issue is probably a bug, but it needs to be checked
needs: complete repro 🖥️
Issue need to have complete repro provided
needs: triage 🏷
Issue needs to be checked and prioritized
labels
Apr 20, 2023
github-actions
bot
added
bundler: webpack 📦
Issue is related to webpack bundler
and removed
needs: triage 🏷
Issue needs to be checked and prioritized
labels
Apr 20, 2023
7 tasks
Looks like I need Windows for experiments… |
I have had the same problem and have now switched to vite@~4.2.0 but not vite@^4.2.0 |
nstepien
changed the title
Linaria doesn't work with Vite 4.3 in dev more
Linaria doesn't work with Vite 4.3 in dev mode
Apr 26, 2023
@Anber let me know if you want me to try something on my windows machine. |
I have the same problem. Reverting to 4.2 for now. |
Looks like this is fixed in the latest version of |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bug report 🦗
Issue is probably a bug, but it needs to be checked
bundler: webpack 📦
Issue is related to webpack bundler
needs: complete repro 🖥️
Issue need to have complete repro provided
Environment
Description
Linaria stopped working after Vite 4.3 in dev mode (the
vite
command).It works fine with
vite build
+vite preview
.vite@~4.2.0 works fine too in either dev or prod builds.
Not sure if this is an issue with linaria or with vite.
This is the error I get:
Reproducible Demo
https://github.com/nstepien/vite-bug/tree/vite43
Clone the repo, checkout the
vite43
branch,npm ci
npm run dev
-> white pagenpm run build
+npm run preview
-> green pageThe text was updated successfully, but these errors were encountered: