Answer the question
In order to leave comments, you need to log in
How to include plugins (for example, bxslider) and their images in the collected css file using gulp?
Example:
1. there is a structure like this - joxi.ru/xAeGJ3WtPgkLmy
2. in the plugins folder there are plugins like bxslider - joxi.ru/Vm6yvw1UzjaLrZ
3. the project is automatically built, and as a result one css file is obtained - "vendors.min.css ". Inside it there is a link to bxslider's pictures: "background-url: (images/controls.png)";
4. Each such plugin has a link to its images
Question: how to connect images (for plugins) when building a project, when they are all scattered in their folders and the paths in css are completely different?
Answer the question
In order to leave comments, you need to log in
Several variants:
In general, I recommend studying how this is implemented in TARS , just your task is being solved.
You can learn about how it all works from the report ( https://vimeo.com/123924728 20 minutes) or from the docks to TARS. Everything is described in great detail there + articles on Habré .
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question