Skip to content

Latest commit

 

History

History

webpack-remove-serviceworker-plugin

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

webpack-remove-serviceworker-plugin

Helps with ServiceWorker removal from your website. For more details

Usage

npm install webpack-remove-serviceworker-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