-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathGruntfile.js
More file actions
33 lines (29 loc) · 1.01 KB
/
Copy pathGruntfile.js
File metadata and controls
33 lines (29 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
module.exports = function (grunt) {
// Project configuration.
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
// uglify: {
// options: {
// banner: '/*! <%= pkg.name %> <%= grunt.template.today("yyyy-mm-dd") %> */\n'
// },
// build: {
// src: 'src/<%= pkg.name %>.js',
// dest: 'build/<%= pkg.name %>.min.js'
// }
// },
stripmq: {
all: {
files: {
// Takes the input file `app.css`, and generates `app-old-ie.css`.
'out/styles/side-menu-old-ie.css': ['out/styles/side-menu.css']
}
}
}
});
// Load the plugin that provides the "uglify" task.
//grunt.loadNpmTasks('grunt-contrib-uglify');
// Load the plugin that provides the "stripmq" task.
grunt.loadNpmTasks('grunt-stripmq');
// Default task(s).
grunt.registerTask('default', ['stripmq']);
};