Skip to content

Instantly share code, notes, and snippets.

Last active Aug 29, 2015
What would you like to do?
Gulpfile December
* Created by Mark on 15/12/2014.
/* global require */
var gulp = require('gulp'),
typescript = require('gulp-tsc'),
html2js = require('gulp-ng-html2js'),
concat = require('gulp-concat');
gulp.task("typescript", function() {
target: 'ES5',
out: 'app.js',
outDir: 'build',
emitError: true,
sourcemap: true
gulp.task('html', function() {
return gulp.src(['html/*.html','html/**/*.html'])
.pipe(html2js({ moduleName: 'zoo.templates',
declareModule: false}))
gulp.task("default", ["typescript"]);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment