File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed
Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 44/htdocs /img /gv /
55/htdocs /login /css /
66/src /img /gv /
7- /src /less /iconfont
7+ /src /less /fonts
88/tests /test-forms /err.log
99/tests /tests.log
1010/tests /tests.html
Original file line number Diff line number Diff line change @@ -234,8 +234,7 @@ watchFilesFor.iconfont = [
234234gulp . task ( 'iconfont' , function ( ) {
235235 var fontName = 'iconfont' ;
236236 var destDirFont = path . join ( destDir , 'css' , 'fonts' ) ;
237- gulp . src ( watchFilesFor . iconfont [ 0 ] )
238- . pipe ( changed ( destDirFont , { transformPath : destDirFont => path . join ( path . dirname ( destDirFont ) , fontName + '.ttf' ) } ) )
237+ gulp . src ( watchFilesFor . iconfont )
239238 . pipe ( iconfontCss ( {
240239 fontName : fontName ,
241240 path : path . join ( srcDir , 'iconfont' , 'template.less' ) ,
@@ -269,8 +268,7 @@ watchFilesFor['iconfont-preview'] = [
269268gulp . task ( 'iconfont-preview' , function ( ) {
270269 var fontName = 'iconfont' ;
271270 var destDirFont = path . join ( destDir , 'css' , 'fonts' ) ;
272- gulp . src ( watchFilesFor [ 'iconfont-preview' ] [ 0 ] )
273- . pipe ( changed ( destDirFont , { transformPath : destDirFont => path . join ( path . dirname ( destDirFont ) , fontName + '.html' ) } ) )
271+ gulp . src ( watchFilesFor [ 'iconfont-preview' ] )
274272 . pipe ( iconfontCss ( {
275273 fontName : fontName ,
276274 path : path . join ( srcDir , 'iconfont' , 'template.css' ) ,
You can’t perform that action at this time.
0 commit comments