File tree 1 file changed +7
-0
lines changed
1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -519,6 +519,7 @@ gulp.task('build', cb => {
519
519
[
520
520
'build:images',
521
521
'copy:extras',
522
+ 'copy:fonts',
522
523
'copy:assets',
523
524
'copy:server',
524
525
'transpile:server',
@@ -614,6 +615,12 @@ gulp.task('copy:extras', () => {
614
615
. pipe ( gulp . dest ( `${ paths . dist } /${ clientPath } ` ) ) ;
615
616
} ) ;
616
617
618
+ gulp . task ( 'copy:fonts' , ( ) => { < % if ( filters . bootstrap ) { % >
619
+ return gulp . src ( `${ clientPath } /bower_components/{bootstrap,font-awesome}/fonts/**/*` , { dot : true } ) < % } else { % >
620
+ return gulp . src ( `${ clientPath } /bower_components/font-awesome/fonts/**/*` , { dot : true } ) < % } % >
621
+ . pipe ( gulp . dest ( `${ paths . dist } /${ clientPath } /bower_components` ) ) ;
622
+ } ) ;
623
+
617
624
gulp . task ( 'copy:assets' , ( ) => {
618
625
return gulp . src ( [ paths . client . assets , '!' + paths . client . images ] )
619
626
. pipe ( gulp . dest ( `${ paths . dist } /${ clientPath } /assets` ) ) ;
You can’t perform that action at this time.
0 commit comments