webpack-remove-serviceworker-plugin

Helps with ServiceWorker removal from your website. [For more details](https://medium.com/@nekrtemplar/self-destroying-serviceworker-73d62921d717)

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
webpack-remove-serviceworker-plugin
1.0.05 years ago5 years agoMinified + gzip package size for webpack-remove-serviceworker-plugin in KB

Readme

webpack-remove-servicewokrer-plugin
Helps with ServiceWorker removal from your website. For more details

Usage

npm install webpack-remove-servicewokrer-plugin

Then add it to the list of plugins in webpack.config.js:
plugins: [
  new RemoveServiceWorkerPlugin()
]

Specifying ServiceWorker's filename

new RemoveServiceWorkerPlugin({ filename: 'sw.js' });

Default is: 'sw.js'

License

MIT