Add gulp css inject
This commit is contained in:
parent
92aafc61d1
commit
6c8e4fddca
2 changed files with 3 additions and 1 deletions
|
|
@ -138,7 +138,7 @@ gulp.task('log', function() {
|
|||
|
||||
gulp.task('inject', function () {
|
||||
var target = gulp.src('index.html');
|
||||
var sources = gulp.src(paths.scripts, { base: '.', read: false });
|
||||
var sources = gulp.src(paths.scripts.concat(paths.styles), { base: '.', read: false });
|
||||
|
||||
return target.pipe(inject(sources, { relative: true }))
|
||||
.pipe(gulp.dest('.'));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue