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
Question:
I am not sure this is the correct loader, but when you have css modules enabled. Isn't it supposed to only "import" the css classes imported into a JS component? Unless it has :global on it? I'm asking because when doing a production build, the entire file is being extracted (mini-css-extract). While I'm using (webpack development) the style blocks only show the css I am importing. What am I missing here? Any help or guidance would be greatly appreciated.
The text was updated successfully, but these errors were encountered:
Question:
I am not sure this is the correct loader, but when you have css modules enabled. Isn't it supposed to only "import" the css classes imported into a JS component? Unless it has
:global
on it? I'm asking because when doing a production build, the entire file is being extracted (mini-css-extract). While I'm using (webpack development) the style blocks only show the css I am importing. What am I missing here? Any help or guidance would be greatly appreciated.The text was updated successfully, but these errors were encountered: