Closed maxmarkus closed 9 years ago
Just recognised that if I run gulp html2js standalone, it works. But using my npm start process which does minification of js, css, jshinting, concatenation and injection, it adds the .no. Weird. Have to investigate.
Tracked it down to a completely different task - to the sourcemaps.init() of a less processing task.
.pipe(sourcemaps.init())
.pipe(less())
.pipe(sourcemaps.write())
Funny thing is, we have 2 less processing tasks using gulp-sourcemaps. As soon as I remove one of the sourcemaps.init(), it works smoothly.
Seems sourcemaps has a problem running twice (I have even required('gulp-sourcemaps') with 2 different instances) and somehow affects gulp-angular-translate.
Ok, thanks for the info!
We've got a really strange problem here, the angular.module ending of the second processed file is suddenly .no instead of ); Sometimes it works, but sometimes not. Cannot really reproduce it, seems more to be a bit of luck.
Outcome:
Implementation
Versions: gulp-angular-templatecache: 1.6.0 gulp: 3.8.8 node: 0.12.0
Any ideas how to tackle that thing?
Regards, Markus