diff --git a/lib/build/multi.js b/lib/build/multi.js index fe009256..1d611ca0 100644 --- a/lib/build/multi.js +++ b/lib/build/multi.js @@ -111,8 +111,6 @@ module.exports = function(config, options){ ); writeStream.on("data", function(builtResult){ - //this.end(); - // run external steal-tool plugins after the build if(options){ @@ -124,16 +122,6 @@ module.exports = function(config, options){ return bundleAssets(builtResult, options.bundleAssets); }); } - - // steal-serviceworker can't be integrated until we drop support for node 4 - // tests are written and ready - // maybe we come up with a better idea integrate post-build-plugins - // if(options.serviceWorker){ - // var precache = require("steal-serviceworker"); - // p = p.then(function (builtResult) { - // return precache(builtResult, options.serviceWorker); - // }); - // } } p.then(function (builtResult) { diff --git a/lib/build/slim.js b/lib/build/slim.js index b1a6ca5b..62cc217c 100644 --- a/lib/build/slim.js +++ b/lib/build/slim.js @@ -94,8 +94,6 @@ module.exports = function(cfg, opts) { ); final.on("data", function (builtResult) { - //this.end(); - // run external steal-tool plugins after the build if (options) { var p = Promise.resolve(builtResult); @@ -106,16 +104,6 @@ module.exports = function(cfg, opts) { return bundleAssets(builtResult, options.bundleAssets); }); } - - // steal-serviceworker can't be integrated until we drop support for node 4 - // tests are written and ready - // maybe we come up with a better idea integrate post-build-plugins - // if(options.serviceWorker){ - // var precache = require("steal-serviceworker"); - // p = p.then(function (builtResult) { - // return precache(builtResult, options.serviceWorker); - // }); - // } } p.then(function (builtResult) {