私はTypeError: Object #<File> has no method 'isNull'
gulp-concatとgulp-sassの両方から取得しています:
gulp.task('scripts', function() {
var dest = BUILD_DEST + 'scripts';
del(dest);
return gulp
.src( scripts ) // scripts = [].concat(VENDOR_LIBS, APP_FILES)
.pipe( plumber() )
.pipe( concat('script.js') ) // everything is fine when this line is removed
// Does the output file need to already exist?
.pipe( gulp.dest( dest ) );
});
gulp.task('styles', function() {
var dest = BUILD_DEST + 'styles';
del(dest);
return gulp
.src( STYLE_FILES ) // STYLE_FILES = APP_SRC+'styles/*.scss'
.pipe( plumber() )
.pipe( sass() )
.pipe(gulp.dest( dest ));
});