K
K
Konstantin Trunov2017-01-17 20:52:24
Grunt.js
Konstantin Trunov, 2017-01-17 20:52:24

Why is grunt-postcss autoprefixer not working?

Here is the code from Gruntfile.js.

postcss: {
       options: {
         processors: [
           require("autoprefixer")({browsers:
           [
             "last 1 version",
             "last 2 Chrome versions",
             "last 2 Firefox versions",
             "last 2 Opera versions",
             "last 2 Edge versions"
           ]})
         ]
       },
       style: {src: "css/*.css"}
     }

The task works, but I don't see any changes in the CSS file. What could be the problem and what are the solutions? Thanks in advance.

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