File tree 1 file changed +2
-23
lines changed
1 file changed +2
-23
lines changed Original file line number Diff line number Diff line change @@ -23,29 +23,14 @@ const watchHTML = () =>
23
23
const bundleCSS = ( ) =>
24
24
gulp
25
25
. src ( "src/*.css" )
26
- . pipe ( concat ( "custom-library .min.css" ) )
26
+ . pipe ( concat ( "fluent .min.css" ) )
27
27
. pipe ( cssMinifier ( ) )
28
28
. pipe ( gulp . dest ( "build/" ) )
29
29
. pipe ( connect . reload ( ) ) ;
30
30
31
31
const watchCSS = ( ) =>
32
32
gulp . watch ( "src/*.css" , { ignoreInitial : false } , bundleCSS ) ;
33
33
34
- // Module CSS: examples/e-commerce/*.css
35
- const bundleModuleCSS = ( ) =>
36
- gulp
37
- . src ( "examples/e-commerce/*.css" )
38
- . pipe ( cssMinifier ( ) )
39
- . pipe ( gulp . dest ( "build/" ) )
40
- . pipe ( connect . reload ( ) ) ;
41
-
42
- const watchModuleCSS = ( ) =>
43
- gulp . watch (
44
- "examples/e-commerce/*.css" ,
45
- { ignoreInitial : false } ,
46
- bundleModuleCSS
47
- ) ;
48
-
49
34
const bundleImages = ( ) =>
50
35
gulp
51
36
. src ( "examples/e-commerce/images/*.png" )
@@ -61,10 +46,4 @@ const connectServer = () =>
61
46
export const compressDemoImages = ( ) =>
62
47
gulp . src ( "demo/*.png" ) . pipe ( imageMinifier ( ) ) . pipe ( gulp . dest ( "demo/" ) ) ;
63
48
64
- export default gulp . parallel (
65
- watchHTML ,
66
- watchCSS ,
67
- watchModuleCSS ,
68
- bundleImages ,
69
- connectServer
70
- ) ;
49
+ export default gulp . parallel ( watchHTML , watchCSS , bundleImages , connectServer ) ;
You can’t perform that action at this time.
0 commit comments