css-modules / css-modulesify

A browserify plugin to load CSS Modules
MIT License
403 stars 47 forks source link

Are sourcemaps available? #70

Open izeau opened 8 years ago

izeau commented 8 years ago

Is there any way to create sourcemaps for generated CSS? I noticed PostCSS handles them, however setting a map option to css-modulesify doesn’t seem to have any effect. Or maybe I’m doing it wrong?

Any help is appreciated! Very nice lib btw.

izeau commented 8 years ago

If I understand correctly, css-modules/css-modules-loader-core#59 needs to be merged if we want to be able to specify process options.

pixelass commented 7 years ago

Any news on this? https://github.com/css-modules/css-modules-loader-core seems to be abandoned (https://github.com/css-modules/css-modules-loader-core/issues/174)

joshwnj commented 7 years ago

@pixelass seeing as css-modulesify needs its own copy of css-modules-loader-core/file-system-loader.js anyway (as there were some slight differences in the approach) we might be best to factor out that dependency.

I'm a bit squeezed for time but happy to do what I can to help push this forward :)

pixelass commented 7 years ago

@joshwnj thx for the reply. I am currently looking into the code to see if I can help.