-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make this plugin work with 'css-loader' #56
Comments
How is it going? |
For me it also doesn't work in a JS file with
|
I have been waiting for sometime for this can you please provide some update |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Unfortunately this plugin doesn't "play nice" with css-loader.
Trying to use
.webp
images from CSS will fail unless theurl: false
option is set forcss-loader
. For example, this code:will fail since initially only
cover.jpg
exists, andcover.webp
is created dynamically by this Plugin.Potential fixes:
url: false
option forcss-loader
(however this might be incompatible if your projects depends on creating the assets via this loader).webp
files exist beforehand.Option 2 will take some work so please up-vote this issue, this way I know how many people are affected by this problem and can prioritize accordingly.
The text was updated successfully, but these errors were encountered: