parce@2.0.0-alpha.3.2 corrupts module styles when CSS files are edited
See original GitHub issueI’m using PostCSS as suggested here with the following .postcssrc
configuration:
{
"modules": true,
"plugins": {
}
}
It seems that any time I edit a .css
file, Parcel loses all of the styles defined in that module and I need to wipe out the .parcel-cache
directory entirely and restart Parcel to fix it.
Issue Analytics
- State:
- Created 4 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
CSS
Enabling CSS modules globally occurred in your project's PostCSS config file. This plugin can now be removed from your PostCSS config if you...
Read more >How do I exclude a css file from being included ...
So the question is: Can I exclude certain files from this "css module" processing? To enable Css Modules in parcel I added a...
Read more >parcel_css - Rust
Parcel CSS is a CSS parser, transformer, and minifier based on the cssparser crate used in Firefox. It supports fully parsing all CSS...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I have the same issue when changing .module CSS file. I see an error in the console:
And styles does not apply.
Yeah, I think the two issues are separate 😁 Just mentioned the HMR one while I was here since I was also seeing it.
Still not sure how to make the first issue reproducible without just monkeying around a bit :frown: Sorry