Replies: 2 comments 1 reply
-
I had a similar problem, which was caused by having css modules together with the routes. It was solving by modifying |
Beta Was this translation helpful? Give feedback.
-
I also had a similar problem. If you use CSS modules with the Vite compiler, you'll either get a similar filter error, or hot reload will not work along with an error in the console. The error in the console will be about an incorrect MIME type of 'text/html' for the module.css file. If you set It might be worth updating the documentation about CSS modules to mention this. The documentation makes it sound plug & play, and sadly it isn't always so. |
Beta Was this translation helpful? Give feedback.
-
What version of Remix are you using?
1.15.0
Are all your remix dependencies & dev-dependencies using the same version?
Steps to Reproduce
npm run build
Expected Behavior
Build sucess.
Actual Behavior
Beta Was this translation helpful? Give feedback.
All reactions