File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,10 +2,10 @@ var mainBowerFiles = require('main-bower-files');
22
33var config = require ( '../config' ) ;
44
5- var rootDir = config . rootDir ;
5+ var rootDir = config . rootDir ;
66var srcDir = config . srcDir ;
7- var destDir = config . destDir ;
8- var bowerDir = config . bowerDir ;
7+ var destDir = config . destDir ;
8+ var bowerDir = config . bowerDir ;
99
1010
1111
@@ -64,44 +64,17 @@ var bowerDir = config.bowerDir;
6464
6565
6666/***********************************************
67- * Vendor assets files
67+ * Vendor asset files
6868************************************************/
6969
70- /*
71- All files which are not .js, .css, .less and fonts
72- */
73-
74- exports . assets = mainBowerFiles ( {
75- filter : [
76- '**/*' ,
77- '!**/*.js' ,
78- '!**/*.css' ,
79- '!**/*.less' ,
80-
81- // Ingore fonts
82-
83- '!**/*.otf' ,
84- '!**/*.eot' ,
85- '!**/*.ttf' ,
86- '!**/*.woff' ,
87- '!**/*.woff2'
88- ] ,
89- paths : rootDir
90- } ) ;
70+ exports . assets = [ ] ;
9171
9272/***********************************************
9373* Vendor font files
9474************************************************/
9575
76+ var npmFonts = [
77+ config . npmDir + '/font-awesome/fonts/*'
78+ ] ;
9679
97- exports . fonts = mainBowerFiles ( {
98- filter : [
99- '**/*.otf' ,
100- '**/*.eot' ,
101- '**/*.ttf' ,
102- '**/*.woff' ,
103- '**/*.woff2' ,
104- '**/*.svg'
105- ] ,
106- paths : rootDir
107- } ) ;
80+ exports . fonts = npmFonts ;
You can’t perform that action at this time.
0 commit comments