[go: nahoru, domu]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lean out sw-template.js #156

Open
lukeed opened this issue Jan 10, 2017 · 1 comment
Open

Lean out sw-template.js #156

lukeed opened this issue Jan 10, 2017 · 1 comment

Comments

@lukeed
Copy link
lukeed commented Jan 10, 2017

A very basic serviceWorker implementation from this plugin is 5kB larger than the output of sw-precache.

Either the generated output needs to be more responsive to the configuration and/or the functions themselves should be trimmed a bit.


Opened by request after discussing with @NekR.

@NekR
Copy link
Owner
NekR commented Jan 10, 2017

Thanks @lukeed!
Here is an example of sw-precache output: https://gist.github.com/NekR/0b2f23efb3a3440f10315527e7441710
Seems like it output only needed parts of the SW runtime, not everything.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants