Skip to content

Commit

Permalink
remove integrated serviceworker plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
Julian Kern committed Sep 30, 2017
1 parent 157f96d commit ceb089d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 24 deletions.
12 changes: 0 additions & 12 deletions lib/build/multi.js
Expand Up @@ -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){

Expand All @@ -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) {
Expand Down
12 changes: 0 additions & 12 deletions lib/build/slim.js
Expand Up @@ -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);
Expand All @@ -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) {
Expand Down

0 comments on commit ceb089d

Please sign in to comment.