-
Notifications
You must be signed in to change notification settings - Fork 2
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
The ability to use the gulp-less-changed without data-uri #43
Comments
Hi @MargoNikk, I can't really tell from your description what's going on here. To help troubleshoot this:
If you try the above and it does work with less itself but not with the plugin, then please attach a .zip file and I can take a look. Thanks, |
Hello, @bingnz , Sorry, I will try to explain in more detail. But I have issue with data-uri. I attach an example file with code comments. Now there is a code that I need. Compilation result: http://joxi.ru/Q2K4X37CLaaLNA It would be great to be able to turn off the compilation of datа-uri if desired. Thanks, |
Hi @MargoNikk, Thanks for the detailed information!
Thanks, |
🎉 This issue has been resolved in version 1.4.4 🎉 The release is available on: Your semantic-release bot 📦🚀 |
@MargoNikk please feel free to reopen this or create another issue if it doesn't solve your problem. |
Hello, @bingnz ! Thank you so much for the advices and for the fix! Evrything is work and good:) Best Regards, |
hi there
I have a different level of nesting of less files and imports in my project. And when the plugin checks the data-uri, it checks the validity of the URL. But (because of the different level of nesting of files) this may be an invalid URL and then the plugin will return an error. If you put the correct URL - less will not compile base64 from this URL
An simple example:
file _variables.less ( ./styles/base/_variables.less)
@icon: data-uri(../../img/icon.svg);
file styles.less (./styles/styles.less)
@import 'base/_variables'
and icon.svg (./img/icon.svg)
In this case plugin will ok, but in the sourse file data-uri dont compile becouse its invalid url for source file.
if we put
@icon: data-uri(../img/icon.svg);
Plugin will return an errorMaybe you have an idea how to fix this? Or you can add to the plugin the ability to disable the data-uri. it would be great!
thank
The text was updated successfully, but these errors were encountered: