Beispiel #1
0
gulp.task('build-common-templates', function () {
  //ToDo: Find a better way.
  //If no templates exist within the common structure, gulp will not create the required module.
  //This has been overcome by having a placeholder copied into the build directory first
  gulp.copyFlat('gulp-config/templates-common.js', config.build_dir);
  return gulp.htmlToNg(config.app.common_templates, config.app.common_templates_build, config.build_dir, "templates-common");
});
Beispiel #2
0
gulp.task('build-app-templates', function () {
  return gulp.htmlToNg(config.app.templates, config.app.templates_build, config.build_dir, "templates-app");
});