M
M
massef2017-01-10 11:22:34
css
massef, 2017-01-10 11:22:34

gulp. Including only the necessary styles in the head?

I use gulp-include to insert pieces of html, these pieces are essentially components that have their own style file.
What plugin will help automate the process of including these styles in the head, so as not to prescribe with your hands?
The plugin, for example, goes through html, looks at what includes it has, and includes the necessary CSS files.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Kshnyakin, 2017-01-11
@devpull

gulp-inject to the rescue!

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question