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

Resolve hexo 4.2 compatibility and improve service worker #16

Closed
wants to merge 3 commits into from

Conversation

marcofranssen
Copy link
Contributor

In this PR the service worker template is improved to generate smaller js file which benefits pageload performance.

Furthermore I resolved the issue of missing lodash dependency by updating the code.

I also resolved #15

Please make a release ASAP.

Copy link
Contributor Author

@marcofranssen marcofranssen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See inline comments in code for some explanations on the changes.

lib/serviceWorker.js Show resolved Hide resolved
lib/serviceWorker.js Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

After hexo upgrading 4.2.0, hexo-pwa fails to generate html.
1 participant