File tree 1 file changed +16
-2
lines changed
1 file changed +16
-2
lines changed Original file line number Diff line number Diff line change 1
1
//==================================================
2
2
// Task
3
3
// test:css
4
- // For the description see [SupeflyCSS Test Task](https://github.com/superfly-css/superfly-css-task-test/)
4
+ // For the description see
5
+ // [SupeflyCSS Test Task](https://github.com/superfly-css/superfly-css-task-test/)
6
+ // IMPLEMENTATION
7
+ // 1: Cheerio copies content from `Test-markup`
8
+ // and appends it to the markup to the `Test-render`
9
+ //
5
10
//==================================================
6
11
7
12
var gulp = require ( 'gulp' ) ;
13
+
14
+ // -1-
8
15
var cheerio = require ( 'gulp-cheerio' ) ;
9
16
var highlight = require ( 'gulp-highlight' ) ;
10
- var path = require ( 'path' ) ;
17
+
18
+ var transform = require ( 'vinyl-transform' ) ;
19
+ var predentation = require ( 'predentation' ) ;
20
+
21
+ var pre = transform ( function ( options ) {
22
+ return predentation ( options ) ;
23
+ } ) ;
11
24
12
25
var PLI = require ( 'superfly-css-pli' ) ;
13
26
@@ -26,5 +39,6 @@ gulp.task('test:css', function() {
26
39
} ) ;
27
40
} ) )
28
41
. pipe ( highlight ( ) )
42
+ . pipe ( pre )
29
43
. pipe ( gulp . dest ( PLI . target . test . html ) ) ;
30
44
} ) ;
You can’t perform that action at this time.
0 commit comments