Giter Site home page Giter Site logo

Comments (6)

bingnz avatar bingnz commented on August 12, 2024

Hi @MargoNikk,

I can't really tell from your description what's going on here.
As you can see in this test, the plugin does support data-uri.

To help troubleshoot this:

  • Does it work as you expect if you don't use the gulp-less-changed plugin at all? In other words, does the less plugin support what you're trying to do?
  • All the examples I've seen for using data-uri have the path in quotes. Have you tried using quotes?

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,
David

from gulp-less-changed.

margo-nik avatar margo-nik commented on August 12, 2024

Hello, @bingnz ,

Sorry, I will try to explain in more detail.
In the example above, I really forgot the quotes. But it does not matter. because in the real example there are quotes. and plugin I use as it should
The plugin works as expected and works well! Thank you for it.

But I have issue with data-uri. I attach an example file with code comments.
v_example.zip

Now there is a code that I need. Compilation result: http://joxi.ru/Q2K4X37CLaaLNA
if we fix it we will follow this:
1)http://joxi.ru/82QM815TwbbyO2
2) Result: http://joxi.ru/EA41wGvToqqo1r

It would be great to be able to turn off the compilation of datΠ°-uri if desired.

Thanks,
Margo

from gulp-less-changed.

bingnz avatar bingnz commented on August 12, 2024

Hi @MargoNikk,

Thanks for the detailed information!
I can prepare a fix for this. In the meantime there are a couple of workarounds.

  1. You can use the less rewriteUrls option, like this:
    rewrite-urls-option.zip.
  2. You can make the URLs relative to the root, like this:
    urls-made-relative-to-root.zip.

Thanks,
David

from gulp-less-changed.

bingnz avatar bingnz commented on August 12, 2024

πŸŽ‰ This issue has been resolved in version 1.4.4 πŸŽ‰

The release is available on:

Your semantic-release bot πŸ“¦πŸš€

from gulp-less-changed.

bingnz avatar bingnz commented on August 12, 2024

@MargoNikk please feel free to reopen this or create another issue if it doesn't solve your problem.

from gulp-less-changed.

margo-nik avatar margo-nik commented on August 12, 2024

Hello, @bingnz !

Thank you so much for the advices and for the fix! Evrything is work and good:)

Best Regards,
Margo

from gulp-less-changed.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.