add stripmq grunt task

This commit is contained in:
Tilo Mitra 2014-03-07 13:15:06 -05:00
parent 36ed083b48
commit 126455ec10

View File

@ -210,6 +210,18 @@ grunt.initConfig({
} }
}, },
// -- Strip Media Queries Config -------------------------------------------
stripmq: {
all: {
files: {
//follows the pattern 'destination': ['source']
'build/grids-responsive-old-ie.css':
['build/grids-responsive.css']
}
}
},
// -- CSS Selectors Config ------------------------------------------------- // -- CSS Selectors Config -------------------------------------------------
css_selectors: { css_selectors: {
@ -249,6 +261,7 @@ grunt.loadNpmTasks('grunt-contrib-compress');
grunt.loadNpmTasks('grunt-contrib-watch'); grunt.loadNpmTasks('grunt-contrib-watch');
grunt.loadNpmTasks('grunt-css-selectors'); grunt.loadNpmTasks('grunt-css-selectors');
grunt.loadNpmTasks('grunt-pure-grids'); grunt.loadNpmTasks('grunt-pure-grids');
grunt.loadNpmTasks('grunt-stripmq');
// Local tasks. // Local tasks.
grunt.loadTasks('tasks/'); grunt.loadTasks('tasks/');
@ -260,6 +273,7 @@ grunt.registerTask('build', [
'clean:build', 'clean:build',
'copy:build', 'copy:build',
'pure_grids', 'pure_grids',
'stripmq',
'concat:build', 'concat:build',
'clean:build_res', 'clean:build_res',
'css_selectors:base', 'css_selectors:base',