css-modules / css-modules-require-hook

A require hook to compile CSS Modules in runtime
MIT License
484 stars 44 forks source link

public parser plugin #42

Closed mightyaleksey closed 9 years ago

mightyaleksey commented 9 years ago

Time to make the parser plugin public has come!

Also me and @joshwnj talked a little and we decided to make it universal, so it will be possible to use it synchroniously and asynchroniously.

mightyaleksey commented 9 years ago

Managed to make the simple version of the parser plugin: https://github.com/css-modules/css-modules-require-hook/blob/master/src/parser.js

mightyaleksey commented 9 years ago

Okay, I've made a small demo: https://github.com/sullenor/postcss-modules-parser Still need to test it and it will be possible to publish it.

mightyaleksey commented 9 years ago

Done: https://github.com/css-modules/postcss-modules-parser https://github.com/css-modules/css-modules-require-hook/releases/tag/2.0.2