mirror of
https://github.com/pure-css/pure.git
synced 2024-11-07 21:34:24 +00:00
add stripmq grunt task
This commit is contained in:
parent
36ed083b48
commit
126455ec10
14
Gruntfile.js
14
Gruntfile.js
@ -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',
|
||||||
|
Loading…
Reference in New Issue
Block a user