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
Is there any way to define a condition to only convert urls from a specific directory?
Actually I'm using grunt-data-uri plugin from Grunt that allow to define this condition, but I'm starting to use Gulp tasks.
The Grunt plugin is configured in this way:
The plugin converts only to base64 the images that are loaded from public/images/inline-data/*.
If the image is loaded from a directory different from this, the plugin doesn't replace the url(image) to base64.
The text was updated successfully, but these errors were encountered:
Is there any way to define a condition to only convert urls from a specific directory?
Actually I'm using grunt-data-uri plugin from Grunt that allow to define this condition, but I'm starting to use Gulp tasks.
The Grunt plugin is configured in this way:
The plugin converts only to base64 the images that are loaded from
public/images/inline-data/*
.If the image is loaded from a directory different from this, the plugin doesn't replace the
url(image)
to base64.The text was updated successfully, but these errors were encountered: