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.
The text was updated successfully, but these errors were encountered:
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
. Sinceicons.css
composes from font-awesome, all of font-awesome is included in the resulting css twice.The text was updated successfully, but these errors were encountered: