You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Obs.: I use the original code, but I just add debug() plugin.
pipes.builtIndexDev=function(){
...
returnpipes.validatedIndex().pipe(gulp.dest(paths.distDev))// write first to get relative path for inject.pipe(plugins.debug()).pipe(plugins.inject(orderedVendorScripts,{relative: true,name: 'bower'})).pipe(plugins.inject(orderedAppScripts,{relative: true})).pipe(plugins.inject(appStyles,{relative: true})).pipe(gulp.dest(paths.distDev));};
$ gulp clean-build-app-dev
[16:25:03] Using gulpfile ~/projects/healthy-gulp-angular/gulpfile.js
[16:25:03] Starting 'clean-dev'...
[16:25:03] Finished 'clean-dev' after 41 ms
[16:25:03] Starting 'clean-build-app-dev'...
[16:25:03] gulp-debug: dist.dev/index.html
[16:25:03] gulp-debug: 1 item
[16:25:04] gulp-inject 8 files into index.html.
[16:25:04] gulp-inject 2 files into index.html.
The text was updated successfully, but these errors were encountered:
francisrod01
changed the title
Nothing was injected on index.html
appStyles on pipes.buildIndexDev doesn't injected anything into index.html
May 27, 2017
francisrod01
changed the title
appStyles on pipes.buildIndexDev doesn't injected anything into index.html
appStyles on pipes.buildIndexDev doesn't let inject anything into index.html
May 27, 2017
I have a doubt why nothing was injected in
dist.dev/index.html
.Issue referenced by klei/gulp-inject#139
debug()
plugin.And nothing was injected!
Update
I found a problem with
appStyles
inject:References:
https://www.npmjs.com/package/gulp-inject#injecting-all-files-for-development
I debug
appStyles
and retun aDestroyableTransform
type. See below:Would you help me please?
The text was updated successfully, but these errors were encountered: