Skip to content

Commit

Permalink
chore(Build): Adds px_to_rem task
Browse files Browse the repository at this point in the history
  • Loading branch information
furzeface committed Jan 19, 2015
1 parent 35988bf commit 90187e0
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
19 changes: 19 additions & 0 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,24 @@ module.exports = function(grunt) {
}
}
},
px_to_rem: {
main: {
options: {
base: 16,
fallback: false,
fallback_existing_rem: false,
ignore: []
},
files: [
{
expand: true,
flatten: true,
src: '<%= config.dist %>/<%= config.distStyles %>/<%= config.mainCss %>',
dest: '<%= config.dist %>/<%= config.distStyles %>/'
}
]
}
},
autoprefixer: {
options: {
browsers: [
Expand Down Expand Up @@ -584,6 +602,7 @@ module.exports = function(grunt) {
'less',
'stripmq',
'autoprefixer',
'px_to_rem',
'combine_mq',
'copy:styles',
'copy:assets',
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
"grunt-jsdoc": "^0.5.7",
"grunt-modernizr": "^0.6.0",
"grunt-prettify": "^0.4.0",
"grunt-px-to-rem": "^0.3.2",
"grunt-stripmq": "0.0.6",
"grunt-zip": "^0.16.2",
"jshint-stylish": "^1.0.0",
Expand Down

0 comments on commit 90187e0

Please sign in to comment.