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
Webpack provides styles name spacing which we can use to create style modules for separate components and components groups which will not interfere with global styles. This is extremely useful feature because it allows proper code separation, especially in styles.
To use such system we need to define general core styles which we can import directly to application root.
In case of specific components styling we should import css module directly to root of the component which we want to customize, because in such case webpack creates namespace for that css module.
But I need to check this functionality, because I have a feeling, that something may not work because of the text extract webpack plugin which extracts css into separate bundle when production config was used.
The text was updated successfully, but these errors were encountered:
Webpack provides styles name spacing which we can use to create style modules for separate components and components groups which will not interfere with global styles. This is extremely useful feature because it allows proper code separation, especially in styles.
To use such system we need to define general core styles which we can import directly to application root.
In case of specific components styling we should import css module directly to root of the component which we want to customize, because in such case webpack creates namespace for that css module.
But I need to check this functionality, because I have a feeling, that something may not work because of the text extract webpack plugin which extracts css into separate bundle when production config was used.
The text was updated successfully, but these errors were encountered: