UNPKG
grunt-cmd-combine
Version:
latest (0.0.3)
0.0.3
0.0.2
0.0.1
0.0.0
Concatenate cmd files
gxcsoccer/grunt-cmd-combine
grunt-cmd-combine
/
tasks
/
lib
/
style.js
13 lines
(10 loc)
•
266 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
exports
.
init
=
function
(
grunt
) {
var
exports
= {};
exports
.
cssConcat
=
function
(
fileObj, options
) {
var
records = grunt.
option
(
'concat-records'
), filepath = fileObj.
src
, src = grunt.
file
.
read
(filepath); records[filepath] = src; };
return
exports
; };