Skip to content
This repository was archived by the owner on Nov 26, 2025. It is now read-only.

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

README.md

02: Using postcss plugins with css-modules

An example of using postcss plugins with css-modules. This is to accompany http://x-team.com/2015/08/css-modules-rethinking-the-past/

Take a look in src/styles/*.css to see how we're doing things like:

You can also take a look at the generated css to see the result of autoprefixer.

Running the example

npm install
npm start

And then open http://localhost:8000 in a browser.

How do I configure plugins?

PostCSS plugins are passed in as configuration to css-modulesify. You can see how we're doing that in the monobrow config and read more in the css-modulesify docs

License

MIT