4
4
4iloveg2016-10-07 13:48:28
Grunt.js
4iloveg, 2016-10-07 13:48:28

Grunt uncss cuts out a lot of extra stuff, why?

Yesterday I started to try to work with this tool.
For the test, a simple template.

uncss: {
                  dist: {
                    files: {
                      'style.css': ['home.html']
                  }
              }
          }

76472
the command is executed without errors,
76473
but as a result it cuts everything leaving a few lines (you can see the reduced size on the screen)
76474
and the comments that were in the css remain.
Tell me what could be the problem.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question