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

feat(PWA): adds assets and worker for PWA #737

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

taos15
Copy link
Contributor

@taos15 taos15 commented Apr 14, 2024

No description provided.

@dhvcc
Copy link

dhvcc commented Apr 15, 2024

LGTM, but it still needs a sync from master to resolve conflicts

@taos15
Copy link
Contributor Author

taos15 commented Apr 15, 2024

There were some PRs merged to master yesterday which now conflict, I will pull master and re-push when I get off work.

@taos15
Copy link
Contributor Author

taos15 commented Apr 16, 2024

LGTM, but it still needs a sync from master to resolve conflicts

Updated, waiting on review.

Copy link
Collaborator

@schroda schroda left a comment

Choose a reason for hiding this comment

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

you have to remove this

if ('serviceWorker' in navigator) {
otherwise it won't work

registerType: 'autoUpdate',
manifest: false,
workbox: {
globPatterns: ['**/*.{js,css,html,ico,png,svg}'],
Copy link
Collaborator

Choose a reason for hiding this comment

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

this includes way too much, it loads files that might never be needed

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.

3 participants