-
Notifications
You must be signed in to change notification settings - Fork 2
/
Gruntfile.js
42 lines (37 loc) · 957 Bytes
/
Gruntfile.js
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
34
35
36
37
38
39
40
41
42
/*
* grunt-combopage
* https://github.com/ginano/grunt-combopage
*
* Copyright (c) 2013 ginano
* Licensed under the MIT license.
*/
'use strict';
module.exports = function(grunt) {
// Project configuration.
grunt.initConfig({
// Configuration to be run (and then tested).
combopage: {
test: {
options:{
cssPath:'output/',
cssVersion:true,
jsPath:'output/',
jsVersion:false,
comboHtml:true,
comboHtmlOptions:{
removeComments:true,
collapseWhitespace:true
}
},
files: [
//{dest:['test/test_new.html'],src: ['test/test.html'],cssPath:null,jsPath:null},
{src: ['test/*.html'],cssPath:null,jsPath:null}
]
}
}
});
// Actually load this plugin's task(s).
grunt.loadTasks('tasks');
// By default, lint and run all tests.
grunt.registerTask('default', ['combopage']);
};