generator-gulp-angular icon indicating copy to clipboard operation
generator-gulp-angular copied to clipboard

Build task and gulp-useref alternate search path

Open auxcoder opened this issue 9 years ago • 0 comments

If we use a different src value in conf.js when running build task alternate search path for gulp-useref don't match and ours app files are not pipe into the html task flow and we end with a Uncaught Error: [$injector:nomod] Module 'myApp' is not available!.

This is not a common case but when we are integrating the generator in an existing project (as happened to me) we expect to be fine only changing our conf.js.

Can html task add to .pipe($.useref()) the src value in conf.js as alternate search path?

auxcoder avatar May 23 '16 15:05 auxcoder