broccoli-serviceworker
Advanced tools
Comparing version 0.1.5 to 0.1.6
# Change Log | ||
## [0.1.5](https://github.com/jkleinsc/broccoli-serviceworker/tree/0.1.5) | ||
## [0.1.6](https://github.com/jkleinsc/broccoli-serviceworker/tree/HEAD) (2017-03-16) | ||
[Full Changelog](https://github.com/jkleinsc/broccoli-serviceworker/compare/0.1.5...0.1.6) | ||
**Closed issues:** | ||
- After update, Serveiceworker failed to install: [\#44](https://github.com/jkleinsc/broccoli-serviceworker/issues/44) | ||
- A page refresh does not update the app [\#43](https://github.com/jkleinsc/broccoli-serviceworker/issues/43) | ||
## [0.1.5](https://github.com/jkleinsc/broccoli-serviceworker/tree/0.1.5) (2017-03-06) | ||
[Full Changelog](https://github.com/jkleinsc/broccoli-serviceworker/compare/0.1.4...0.1.5) | ||
@@ -6,0 +14,0 @@ |
@@ -78,6 +78,9 @@ var path = require('path'); | ||
contentFor: function(type, config) { | ||
if (config.environment !== 'test' && (!config.serviceWorker || config.serviceWorker.includeRegistration!== false) && type === 'body-footer') { | ||
return stringifile('registration.js', 'script', __dirname); | ||
if((!config.serviceWorker && config.environment === 'production') || | ||
(config.serviceWorker && config.serviceWorker.enabled === true)) { | ||
if (config.environment !== 'test' && (!config.serviceWorker || config.serviceWorker.includeRegistration!== false) && type === 'body-footer') { | ||
return stringifile('registration.js', 'script', __dirname); | ||
} | ||
} | ||
} | ||
}; |
{ | ||
"name": "broccoli-serviceworker", | ||
"version": "0.1.5", | ||
"version": "0.1.6", | ||
"description": "A broccoli plugin automating ServiceWorker file creation for Broccoli and Ember.js", | ||
@@ -35,4 +35,4 @@ "main": "lib/service-worker.js", | ||
"stringifile": "^0.1.1", | ||
"sw-toolbox": "^3.4.0" | ||
"sw-toolbox": "3.4.0" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
32252
383
+ Addedsw-toolbox@3.4.0(transitive)
- Removedsw-toolbox@3.6.0(transitive)
Updatedsw-toolbox@3.4.0