]> git.ipfire.org Git - thirdparty/foundation/foundation-emails.git/commitdiff
Fix generated ZIP download having the wrong path in the <link> tag
authorGeoff Kimball <geoff@zurb.com>
Wed, 23 Mar 2016 05:02:49 +0000 (22:02 -0700)
committerGeoff Kimball <geoff@zurb.com>
Wed, 23 Mar 2016 05:02:49 +0000 (22:02 -0700)
gulpfile.js

index e1cb2a979ea8f6ebbadda82e05606f6651250245..cac9b32da808e9d4bd0503e4f039c55092f81c75 100644 (file)
@@ -164,6 +164,7 @@ gulp.task('templates', function() {
 gulp.task('download:build:index', function() {
   return gulp.src('test/visual/_template.html', { base: 'test/visual' })
     .pipe($.injectString.replace('<%= contents %>', ''))
+    .pipe($.injectString.replace('../assets/', ''))
     .pipe($.rename('index.html'))
     .pipe(gulp.dest('.download'));
 });