I
I
Ivan Antonov2016-09-11 12:01:09
symfony
Ivan Antonov, 2016-09-11 12:01:09

How to use gulp-uncss on Symfony with Twig templating engine?

I read my favorite Habr and in the topic https://habrahabr.ru/post/252745/ I found an interesting plug-in for a sip.

gulp-uncss is the best solution for optimizing CSS files. The plugin parses the HTML code and finds all unused and duplicated styles.

But immediately a contradiction arose in my head. It will not be possible to specify the path to the fully assembled page, since Symfony uses the Twig template engine.
Has anyone solved a similar problem?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey, 2016-09-11
@antonowano

gulp-inject in symphony templates did once.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question