You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If multiple stylesheets are imported (or components importing different stylesheets) and those files compose from a common stylesheet (ie. icons.css) then the styles and composes of the common stylesheet will be duplicated for every import.
This gist shows a simple jsx which imports 2 modules, each of which imports a stylesheet composing from icons.css. Since icons.css composes from font-awesome, all of font-awesome is included in the resulting css twice.
Activity
loklaan commentedon Nov 9, 2015
Could you try out #57, which should resolve this issue.
themitchy commentedon Nov 9, 2015
No dice on #57 - still results in dupes of everything in the common stylesheet.
joshwnj commentedon Nov 20, 2015
@themitchy please take a look at #61 to see whether that fixes the issue.
themitchy commentedon Dec 1, 2015
That did it! Thanks @joshwnj !