-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathGruntfile.js
More file actions
37 lines (26 loc) · 775 Bytes
/
Gruntfile.js
File metadata and controls
37 lines (26 loc) · 775 Bytes
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
'use strict';
module.exports = function (grunt) {
var cssFiles = [
"jsyg-boundingbox/JSYG.BoundingBox.css",
"jsyg-editor/JSYG.Editor.css",
"jsyg-fulleditor/JSYG.FullEditor.css",
"jsyg-selection/JSYG.Selection.css",
"jsyg-texteditor/JSYG.TextEditor.css",
"jsyg-zoomAndPan/JSYG.ZoomAndPan.css",
]
cssFiles = cssFiles.map(function(file) { return "bower_components/"+file; })
cssFiles.push("styles.css")
grunt.initConfig({
concat:{
options: {
separator: '\n\n',
},
dist: {
src: cssFiles,
dest: 'JSYG.FullEditor.css'
}
}
});
grunt.loadNpmTasks('grunt-contrib-concat');
grunt.registerTask('default', ['concat']);
};