-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Side effect CSS import causes an error in .js extension #5331
Comments
Getting something similar(ish) when using vanilla-extract. Not sure if the
|
Can you confirm whether you're still experiencing this issue with the latest version? |
Was this ever fixed? I am experiencing this same issue. |
@RoniqueRicketts are you experiencing this issue with 1.16.0? |
I am now updating from v 1.14.0 to v 1.16.0 I will update you on the results. Hopefully if this works for me I hope it works for @Kagaminara |
Yes it's still happening. Every page (other than root.js) that I has a links function throws the above error. Does this mean I should have the CSS import only on the root of the project? I also saw this error |
After moving all .css imports to root.js the error disappeared. |
Hello, sorry for the late response. I will try to test on my end as soon as possible. |
Hi! If it can help, I've created a reproduction repository on https://github.com/real34/remix-issue-5331 This commit illustrates the issue, coming from using a We usually use
|
Hey could you copy the entire error? Sometimes there are clues in the entirety of the error. |
The commit message contains the full stacktrace. Here it is again:
|
🤖 Hello there, We just published version Thanks! |
Thanks a lot @markdalgleish! |
🤖 Hello there, We just published version Thanks! |
🤖 Hello there, We just published version Thanks! |
What version of Remix are you using?
1.12.1
Are all your remix dependencies & dev-dependencies using the same version?
Steps to Reproduce
links
remix method as per the docs.js
extension using a CSS import :Expected Behavior
The app compiles and runs without any issues and contains the CSS bundle.
Actual Behavior
An error triggers at build time :
The text was updated successfully, but these errors were encountered: