-
-
Notifications
You must be signed in to change notification settings - Fork 194
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
data-uri doesn't work #38
Comments
decoded
@mdreizin you can use |
@sokra Thanks for the response. I know about This is strange behaviour after migration from 0.7.7 to 2.0.0 :( |
Agreed, the image should not be corrupted, I can take a look. But to be honest, using the |
The same for #43. It doesn't work and breaks LESS core functions. |
@jhnns Have you got any progress about this issue? |
Sorry, I haven't got the time yet. There were some pretty weird things going on with the sass-loader ^^ |
``` Module build failed: error evaluating function `data-uri`: Cannot 'resolveSync' because the fileSystem is not sync. Use 'resolve'! ```
Fix shipped with |
@jhnns, @sokra one again, it doesn't work,
background-image: data-uri('../img/privateinvestocat.jpg');
lessc
compiles correctly, butless-loader
outputs corrupted image.Here is
data-uri.less
:Where
../img/privateinvestocat.jpg
is https://octodex.github.com/images/privateinvestocat.jpglessc --no-ie-compat test/less/data-uri.less test/less/data-uri.css
outputs:but
less-loader?ieCompat=false
outputs:The text was updated successfully, but these errors were encountered: