Comments (6)
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.
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.
Hi @MargoNikk,
Thanks for the detailed information!
I can prepare a fix for this. In the meantime there are a couple of workarounds.
- You can use the less rewriteUrls option, like this:
rewrite-urls-option.zip. - You can make the URLs relative to the root, like this:
urls-made-relative-to-root.zip.
Thanks,
David
from gulp-less-changed.
π This issue has been resolved in version 1.4.4 π
The release is available on:
Your semantic-release bot π¦π
from gulp-less-changed.
@MargoNikk please feel free to reopen this or create another issue if it doesn't solve your problem.
from gulp-less-changed.
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)
- niv not loading as a dependancy HOT 1
- 1.3.2, 1.3.3 broken on gulp 3.9.1 HOT 2
- Support for sass/scss HOT 2
- File is always passed through when it's dependencies have a higher modified time that the file HOT 11
- An in-range update of semantic-release is breaking the build π¨ HOT 1
- DataUriVisitor doesn't use relative paths HOT 4
- Unable to catch an error if an import has errors HOT 6
- An in-range update of gulp-cli is breaking the build π¨ HOT 1
- An in-range update of less is breaking the build π¨ HOT 2
- An in-range update of sinon is breaking the build π¨ HOT 2
- An in-range update of less is breaking the build π¨ HOT 1
- Makes gulp run slower instead of faster HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gulp-less-changed.