nDmitry / grunt-autoprefixer

Parse CSS and add vendor-prefixed CSS properties using the Can I Use database. Based on Autoprefixer.
MIT License
795 stars 60 forks source link

File Not Being Output #93

Closed 5inline closed 9 years ago

5inline commented 9 years ago

This is the verbose output from grunt

Running "autoprefixer:dist" (autoprefixer) task
Verifying property autoprefixer.dist exists in config...OK
Files: .tmp/styles/main.css -> app/styles/main.css
Options: browsers=["last 1 versions","Android 4","iOS 6"], cascade, diff=false, map=false, silent=false, remove, safe=false
Reading .tmp/styles/main.css...OK

Done, without errors.

There is usually another task after "Reading" like:

Writing app/styles/main.css...OK
File app/styles/main.css created.

Using v2.2.0

Here is the Gruntfile:

        autoprefixer: {
            options: {
                browsers: ['last 1 versions','Android 4','iOS 6']
            },
            dist: {
                src: '.tmp/styles/main.css',
                dest: '<%= config.app %>/styles/main.css'
            }
        },
Nicolas-Bouteille commented 9 years ago

This is probably the same bug as https://github.com/nDmitry/grunt-autoprefixer/issues/92 The browsers version format may not be suitable for version 2.2.0 anymore but no error is shown. When I removed my custom browsers option for the default it worked again.