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
That many loaders after the css-loader are used to import resources.
What is the expected behavior?
It should be either before, or after, or not? Maybe it needs some commas too, but honestly, it sounds a bit confusing to me.
As far as I am understanding this, if for example sass-loader and postcss-loader are used before the css-loader, importLoaders could be set to 2 to make use of both loaders when using @import, but also to 1 if it should only use the sass-loader?
The text was updated successfully, but these errors were encountered:
As far as I am understanding this, if for example sass-loader and postcss-loader are used before the css-loader, importLoaders could be set to 2 to make use of both loaders when using @import, but also to 1 if it should only use the sass-loader?
Do you want to request a feature or report a bug?
documentation
What is the current behavior?
Under Options (https://github.com/webpack-contrib/css-loader#options), the description for
importLoaders
mentions before ...... while under the
importLoaders
section (https://github.com/webpack-contrib/css-loader#importloaders) it says used afterWhat is the expected behavior?
It should be either before, or after, or not? Maybe it needs some commas too, but honestly, it sounds a bit confusing to me.
As far as I am understanding this, if for example
sass-loader
andpostcss-loader
are used before thecss-loader
,importLoaders
could be set to 2 to make use of both loaders when using@import
, but also to 1 if it should only use thesass-loader
?The text was updated successfully, but these errors were encountered: