This repository was archived by the owner on Mar 31, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +3
-2
lines changed
Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 3131 "gulp-batch" : " ^1.0.5" ,
3232 "gulp-coffee" : " ^2.3.1" ,
3333 "gulp-concat" : " ^2.6.0" ,
34+ "gulp-concat-css" : " ^2.2.0" ,
3435 "gulp-if" : " ^1.2.5" ,
3536 "gulp-less" : " ^3.0.3" ,
3637 "gulp-load-plugins" : " ^1.0.0-rc.1" ,
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ module.exports = function(options) {
2121 this . emit ( 'end' ) ;
2222 } )
2323 . pipe ( $ . if ( config . css . autoprefix . enabled , $ . autoprefixer ( config . css . autoprefix . options ) ) )
24- . pipe ( $ . concat ( options . output . name ) )
24+ . pipe ( $ . concatCss ( options . output . name , { rebaseUrls : false , inlineImports : false } ) )
2525 . pipe ( $ . if ( config . production , $ . minifyCss ( config . css . minifyCss . pluginOptions ) ) )
2626 . pipe ( $ . if ( config . sourcemaps , $ . sourcemaps . write ( '.' ) ) )
2727 . pipe ( gulp . dest ( options . output . baseDir ) )
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ var gulpTask = function(paths) {
5050 gulp
5151 . src ( paths . src . path )
5252 . pipe ( $ . if ( config . sourcemaps , $ . sourcemaps . init ( ) ) )
53- . pipe ( $ . concat ( paths . output . name ) )
53+ . pipe ( $ . concatCss ( paths . output . name , { rebaseUrls : false , inlineImports : false } ) )
5454 . pipe ( $ . if ( config . production , $ . minifyCss ( config . css . minifyCss . pluginOptions ) ) )
5555 . pipe ( $ . if ( config . sourcemaps , $ . sourcemaps . write ( '.' ) ) )
5656 . pipe ( gulp . dest ( paths . output . baseDir ) )
You can’t perform that action at this time.
0 commit comments