laravel-mix-react-css-modules icon indicating copy to clipboard operation
laravel-mix-react-css-modules copied to clipboard

Features suggestion (code exemples)

Open JonatasAmaral opened this issue 3 years ago • 1 comments

Hey, nice package!

So, i've found that on NPM, and later on made some edit to allow some nice things:

  • auto load as cssModules for .module[s].css
  • allow load simple .css as normal global css
  • still, force to load as css as cssModules with `.css?module[s]
  • enable to generate sourceMaps

Then decided to take it back here. But found that the code on this repo is quite different from the one i've edited on node_modules folder.

So i'm here to register those changes on this Issue, hope it get its way into this package.

https://gist.github.com/JonatasAmaral/ca1e3d667215a8febc219b3e97277a79

JonatasAmaral avatar Feb 27 '22 22:02 JonatasAmaral

Hey @JonatasAmaral, thanks for the issue and your efforts! This looks pretty interesting and helpful. I don't have a ton of time to look into the package right now, but if you could submit the changes as a pull request, I can run some tests against it and release them. Would also prefer if the changes are backwards compatible :)

leinelissen avatar Mar 14 '22 10:03 leinelissen