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
This is webpack specific loader syntax. It is not supported at the moment.
There are no plans to add support for it – this syntax has been deprecated and will be removed in future webpack versions. (I cannot find where this is documented at the moment. Maybe I am wrong.)
Regardless, webpack documentation advises against using this syntax:
Note: Avoid using this, if at all possible, if you intend your scripts to be environment agnostic (node.js and browser). Use the configuration convention for specifying loaders (see next section).
There is a valid use case for this scenario though. In some cases you may want to one-off load CSS a different way, using different loaders. For example, in my project, I have one case where I want to load the CSS using css-object-loader instead of my normal CSS loader pipeline, because I use the CSS differently.
Will give you error. This plugin is trying to resolve that module name as
css!sass!./style.css
instead ofstyle.css
The text was updated successfully, but these errors were encountered: