From b3b3e108525dc2e6bc015215ef4c314840f4eac0 Mon Sep 17 00:00:00 2001 From: Tom MacWright Date: Fri, 10 Jul 2015 14:51:59 -0400 Subject: [PATCH] Remove index.json from stream, fix base --- streams/output/html.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/streams/output/html.js b/streams/output/html.js index f3bbb1b..ef2860a 100644 --- a/streams/output/html.js +++ b/streams/output/html.js @@ -76,11 +76,6 @@ module.exports = function (opts) { helpers(Handlebars, paths); - this.push(new File({ - path: 'index.json', - contents: new Buffer(JSON.stringify(comments, null, 2), 'utf8') - })); - this.push(new File({ path: 'index.html', contents: new Buffer(pageTemplate({ @@ -92,7 +87,7 @@ module.exports = function (opts) { callback(); }, function (callback) { // push assets into the pipeline as well. - vfs.src([themeModule + '/assets/**']) + vfs.src([themeModule + '/assets/**'], { base: themeModule }) .on('data', function (file) { this.push(file); }.bind(this))