bug fix
This commit is contained in:
+8
-8
@@ -24,17 +24,17 @@ gulp.task('scss', function() {
|
||||
.pipe(wrap('<style type="text/css">\n<%= contents %>\n</style>'))
|
||||
.pipe(gulp.dest('css'));
|
||||
});
|
||||
|
||||
gulp.task('wrap', function(){
|
||||
return gulp.src( 'bower_components/lightbox2/dist/css/lightbox.min.css')
|
||||
.pipe(wrap('<style type="text/css">\n<%= contents %>\n</style>'))
|
||||
.pipe(gulp.dest('css'));
|
||||
})
|
||||
//
|
||||
// gulp.task('wrap', function(){
|
||||
// return gulp.src( 'bower_components/lightbox2/dist/css/lightbox.min.css')
|
||||
// .pipe(wrap('<style type="text/css">\n<%= contents %>\n</style>'))
|
||||
// .pipe(gulp.dest('css'));
|
||||
// })
|
||||
|
||||
// Watch Files For Changes
|
||||
gulp.task('dev-watch', function() {
|
||||
gulp.watch( 'scss/*.scss', ['scss', 'wrap']);
|
||||
gulp.watch( 'scss/*.scss', ['scss']);
|
||||
});
|
||||
|
||||
// Default Task
|
||||
gulp.task('default', ['scss', 'wrap']);
|
||||
gulp.task('default', ['scss']);
|
||||
|
||||
Reference in New Issue
Block a user