andreypopp / react-fa

DEPRECATED: use https://github.com/FortAwesome/react-fontawesome instead
http://andreypopp.github.io/react-fa/
489 stars 42 forks source link

CSS modules option? #47

Closed wlingke closed 8 years ago

wlingke commented 8 years ago

I had a bit of trouble integrating this because I use css modules. Realized I had to not use css modules in webpack to load it since class names are just global names.

Any thought on changing it up to use CSS modules?

solshark commented 8 years ago

Same issue. Any solution?

andreypopp commented 8 years ago

You need to specify a loader for font-awesome CSS separately (w/o CSS modules enabled). Just use more specific test in loader config for that.

patrickgordon commented 7 years ago

I'd love to get an example on how to make this work. Been racking my brain for hours 😬