1- import { series , parallel } from 'gulp' ;
2- import { clean } from './utils/clean' ;
3- import { copy } from './utils/copy' ;
1+ import { series , parallel } from 'gulp'
2+ import { clean } from './utils/clean'
3+ import { copy } from './utils/copy'
44
55export default series (
66
7- // Cleaning 'src','svg','es','lib' before copying SVGs from 'EOS-Icons'
8- clean ( [ 'src' , 'svg' , 'es' , 'lib' ] ) ,
9-
10- // Running all the tasks of copying SVGs from 'EOS-Icons' in parallel
11- parallel (
12-
13- copy ( {
14- from : [ 'node_modules/eos-icons/svg/*.svg' ] ,
15- toDir : 'svg/filled'
16- } ) ,
17-
18- copy ( {
19- from : [ 'node_modules/eos-icons/svg/material/*.svg' ] ,
20- toDir : 'svg/filled'
21- } ) ,
22-
23- copy ( {
24- from : [ 'node_modules/eos-icons/animated-svg/*.svg' ] ,
25- toDir : 'svg/animated'
26- } ) ,
27-
28- copy ( {
29- from : [ 'node_modules/eos-icons/svg-outlined/*.svg' ] ,
30- toDir : 'svg/outlined'
31- } ) ,
32-
33- copy ( {
34- from : [ 'node_modules/eos-icons/svg-outlined/material/*.svg' ] ,
35- toDir : 'svg/outlined'
36- } )
37- )
38- ) ;
7+ // Cleaning 'src','svg','es','lib' before copying SVGs from 'EOS-Icons'
8+ clean ( [ 'src' , 'svg' , 'es' , 'lib' ] ) ,
9+
10+ // Running all the tasks of copying SVGs from 'EOS-Icons' in parallel
11+ parallel (
12+
13+ copy ( {
14+ from : [ 'node_modules/eos-icons/svg/*.svg' ] ,
15+ toDir : 'svg/filled'
16+ } ) ,
17+
18+ copy ( {
19+ from : [ 'node_modules/eos-icons/svg/material/*.svg' ] ,
20+ toDir : 'svg/filled'
21+ } ) ,
22+
23+ copy ( {
24+ from : [ 'node_modules/eos-icons/animated-svg/*.svg' ] ,
25+ toDir : 'svg/animated'
26+ } ) ,
27+
28+ copy ( {
29+ from : [ 'node_modules/eos-icons/svg-outlined/*.svg' ] ,
30+ toDir : 'svg/outlined'
31+ } ) ,
32+
33+ copy ( {
34+ from : [ 'node_modules/eos-icons/svg-outlined/material/*.svg' ] ,
35+ toDir : 'svg/outlined'
36+ } ) ,
37+
38+ copy ( {
39+ from : [ 'template/index.ts' ] ,
40+ toDir : 'src/'
41+ } ) ,
42+
43+ copy ( {
44+ from : [ 'utils/helper.ts' ] ,
45+ toDir : 'src/'
46+ } )
47+ )
48+ )
0 commit comments