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, for one reason or another, you need to extract CSS as a plain string resource ...
extract-loader doesn't work with current version of css-loader, if css contains url(..)
This happens because css-loader produces new URL(...., import.meta.url), which cannot be parsed by outdated babel-core from extract-loader
Also, looks like extract-loader is deprecated with webpack v5 and should not be used
Your Proposal for Changes
Add a reminder about extract-loader current state or completely remove it from docs
The text was updated successfully, but these errors were encountered:
Documentation Is:
Please Explain in Detail...
https://github.com/webpack-contrib/css-loader#tostring
extract-loader
doesn't work with current version ofcss-loader
, if css containsurl(..)
This happens because
css-loader
producesnew URL(...., import.meta.url)
, which cannot be parsed by outdatedbabel-core
fromextract-loader
Also, looks like
extract-loader
is deprecated with webpack v5 and should not be usedYour Proposal for Changes
Add a reminder about
extract-loader
current state or completely remove it from docsThe text was updated successfully, but these errors were encountered: