We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi, really love this project, and super excited to continue testing it out :)
In one of my Javascript files, I'm attempting to import CSS Modules via
import styles from './styles.module.css'
but this is generating errors like the following in my Chrome console
GET http://localhost:3002/vite-dev/@fs/app/javascript/src/components/LeftNav/styles.module.css net::ERR_ABORTED 404 (Not Found)
am I missing a step here?
The text was updated successfully, but these errors were encountered:
Hi Theodore! Thanks for reporting.
It seems to be related to the dev server proxy, where the .css extension is being removed before forwarding the request to the Vite dev server.
.css
Releasing a new version with the patch soon.
Sorry, something went wrong.
8976872
@theodoretliu Upgrading vite_ruby to 1.2.17 should allow CSS Modules requests to be served correctly in development. Thanks again for the report!
vite_ruby
1.2.17
No branches or pull requests
Hi, really love this project, and super excited to continue testing it out :)
In one of my Javascript files, I'm attempting to import CSS Modules via
but this is generating errors like the following in my Chrome console
am I missing a step here?
The text was updated successfully, but these errors were encountered: