Open djoks opened 8 years ago
@djoks can you make sure the package is actually installed in your node_modules
folder? do you get any other errors?
Elixir's plugin API has changed
This should work for you (this basically replaces the need for the plugin): npm install --save-dev gulp-angular-templatecache
Define the extension in your gulpfile (quick and dirty):
var templateCache = require('gulp-angular-templatecache');
elixir.extend('ngTemplates', function(source, output, options) {
new elixir.Task('ngTemplates', function() {
return gulp.src(source)
.pipe(templateCache(options))
.pipe(gulp.dest(output));
}).watch(source).ignore(output);
});
Usage is the same as the plugin discussed.
@timenomad can you please send a PR? I will hapily merge it
When running gulp after integrating your package as instructed I get this error:
I did everything as you described.