Created
March 25, 2014 13:38
-
-
Save Huskie/9761953 to your computer and use it in GitHub Desktop.
Grunt Autoprefixer plugin usage syntax
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Autoprefixer | |
https://github.com/nDmitry/grunt-autoprefixer | |
Adds vendor prefixes automatically | |
https://github.com/nDmitry/grunt-autoprefixer | |
*/ | |
autoprefixer: { | |
options: { | |
browsers: [ | |
'last 2 version', | |
'safari 6', | |
'ie 8', | |
'opera 12.1', | |
'ios 6', | |
'android 4' | |
] | |
}, | |
dev: { | |
files: { | |
'<%= project.src %>/css/style.min.css': ['<%= project.src %>/css/style.unprefixed.css'], | |
'<%= project.src %>/css/old-ie.min.css': ['<%= project.src %>/css/old-ie.unprefixed.css'] | |
} | |
}, | |
dist: { | |
files: { | |
'<%= project.src %>/css/style.prefixed.css': ['<%= project.src %>/css/style.unprefixed.css'], | |
'<%= project.src %>/css/old-ie.prefixed.css': ['<%= project.src %>/css/old-ie.unprefixed.css'] | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment