Option for CSS Modules + Preprocessor
See original GitHub issueI would like an option that would allow you to use CSS Modules + LESS/SASS preprocessor. The loader example is shown here on the react-css-modules
repo.
https://github.com/gajus/react-css-modules#sass-scss-less-and-other-css-preprocessors
Issue Analytics
- State:
- Created 7 years ago
- Reactions:13
- Comments:20 (2 by maintainers)
Top Results From Across the Web
Documentation about css-modules - GitHub
A CSS Module is a CSS file in which all class names and animation names are scoped locally by default. All URLs (...
Read more >css-loader | webpack - JS.ORG
Allows to enable/disable CSS Modules or ICSS and setup configuration: ... The modules option enables/disables the CSS Modules specification and setup basic ...
Read more >What are CSS Modules and why do we need them?
According to the repo, CSS modules are: CSS files in which all class names and animation names are scoped locally by default. So...
Read more >Using with Preprocessors - Tailwind CSS
A guide to using Tailwind with common CSS preprocessors like Sass, Less, and Stylus.
Read more >Working with CSS | Vue CLI
Vue CLI projects come with support for PostCSS, CSS Modules and ... you may want to pass options to the pre-processor's webpack loader....
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 FreeTop 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
Top GitHub Comments
@iansoper this will be implemented soon.
I have finally added this in the latest version. You can have any combination of modules + preprocessor by adding
module
before the file extension. For example:header.module.css
orfooter.module.less
.Let me know if it works okay 👌