From c3a241ae7371c31a2e648032596f1ffe2ffa3919 Mon Sep 17 00:00:00 2001 From: Dan Lasky Date: Thu, 29 Oct 2015 10:13:53 -0500 Subject: [PATCH] now with more building --- Gulpfile.js | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/Gulpfile.js b/Gulpfile.js index c72698dc..03695d0a 100644 --- a/Gulpfile.js +++ b/Gulpfile.js @@ -44,28 +44,32 @@ gulp.task('font', function() { return gulp.src(SRC + 'shared/fonts/fonts.scss') .pipe(sass({includePaths: ['./bower_components/bourbon/app/assets/stylesheets/', './src/shared/sass/']}).on('error', sass.logError)) .pipe(gulp.dest(BUILD + 'shared/fonts/')) - .pipe(wrap("")) - .pipe(rename("fonts.html")) + .pipe(wrap("",{},{engine:"hogan"}).on('error',console.log)) + .pipe(rename("fonts.html").on('error',console.log)) .pipe(gulp.dest(BUILD + '/shared/fonts/')); }); gulp.task('vulcanize', function() { + console.log("vulcanize start") var modules = gulp.src(BUILD + "mm-*/mm-*.html") .pipe(vulcanize({ inlineScripts:true, inlineCss:true, stripExcludes:false, - excludes: { - imports: ['.*\.html','polymer.html'] - } - })) + // excludes: { + // imports: ['.*\.html','polymer.html'] + // } + }).on('error',console.log)) .pipe(gulp.dest(BUILD)); var lib = gulp.src(BUILD + "strand.html") .pipe(vulcanize({ inlineScripts:true, inlineCss:true, - stripExcludes:false - })); + stripExcludes:false, + // excludes: { + // imports: ['.*\.html','polymer.html'] + // } + }).on('error',console.log)); return merge(modules, lib); });