@@ -16,19 +16,19 @@ gulp.task('test-script-format', () =>
16
16
gulp . src ( [ './src/js/**/*.js' ] )
17
17
. pipe ( eslint ( ) )
18
18
. pipe ( eslint . format ( ) )
19
- . pipe ( eslint . failOnError ( ) )
19
+ . pipe ( eslint . failOnError ( ) ) ,
20
20
) ;
21
21
22
22
gulp . task ( 'compile-test-script' , ( ) =>
23
23
gulp . src ( [ './test/index.js' ] )
24
- . pipe ( webpack ( require ( './webpack.config.js' ) ) )
25
- . pipe ( gulp . dest ( './test/compiled/' ) )
24
+ . pipe ( webpack ( webpackConfig ) )
25
+ . pipe ( gulp . dest ( './test/compiled/' ) ) ,
26
26
) ;
27
27
28
28
// Disabled for now
29
29
gulp . task ( 'test-mocha' , [ 'script-compile-test' ] , ( ) =>
30
30
gulp . src ( [ 'test/test.html' ] )
31
- . pipe ( mocha ( { reporter : 'spec' } ) )
31
+ . pipe ( mocha ( { reporter : 'spec' } ) ) ,
32
32
) ;
33
33
34
34
gulp . task ( 'test-script' , [ 'test-script-format' ] ) ;
@@ -37,7 +37,7 @@ gulp.task('build-script', ['test-script'], () =>
37
37
gulp . src ( [ './src/index.js' ] )
38
38
. pipe ( webpack ( webpackConfig ) )
39
39
. pipe ( header ( banner , { pkg } ) )
40
- . pipe ( gulp . dest ( './lib/' ) )
40
+ . pipe ( gulp . dest ( './lib/' ) ) ,
41
41
) ;
42
42
43
43
gulp . task ( 'build-style' , ( ) =>
@@ -47,13 +47,13 @@ gulp.task('build-style', () =>
47
47
. pipe ( sass ( {
48
48
outputStyle : 'expanded' ,
49
49
} ) . on ( 'error' , sass . logError ) )
50
- . pipe ( gulp . dest ( './lib' ) )
50
+ . pipe ( gulp . dest ( './lib' ) ) ,
51
51
) ;
52
52
53
53
gulp . task ( 'build-examples' , [ 'build-script' , 'build-style' ] , ( ) =>
54
54
gulp . src ( [ './examples/index.js' ] )
55
55
. pipe ( webpack ( testWebpackConfig ) )
56
- . pipe ( gulp . dest ( './examples/compiled/' ) )
56
+ . pipe ( gulp . dest ( './examples/compiled/' ) ) ,
57
57
) ;
58
58
59
59
gulp . task ( 'watch' , ( ) => {
0 commit comments