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

Ch13 - Converting to a PWA #106

Merged
merged 18 commits into from
Jun 5, 2022
Merged

Ch13 - Converting to a PWA #106

merged 18 commits into from
Jun 5, 2022

Conversation

jelster
Copy link
Owner

@jelster jelster commented May 4, 2022

Commits cover changes needed to convert the web application into a Progressive Web Application. Uses the workbox webpack plugin to generate and emit a ServiceWorker that will allow the PWA to run offline with cached assets.

@jelster jelster added this to the v1.0 Release milestone May 4, 2022
@github-actions
Copy link

github-actions bot commented May 4, 2022

Azure Static Web Apps: Your stage site is ready! Visit it here: https://wonderful-river-0b8108510-106.centralus.azurestaticapps.net

@github-actions
Copy link

github-actions bot commented May 4, 2022

Azure Static Web Apps: Your stage site is ready! Visit it here: https://wonderful-river-0b8108510-106.centralus.azurestaticapps.net

@github-actions
Copy link

github-actions bot commented May 4, 2022

Azure Static Web Apps: Your stage site is ready! Visit it here: https://wonderful-river-0b8108510-106.centralus.azurestaticapps.net

@github-actions
Copy link

github-actions bot commented May 5, 2022

Azure Static Web Apps: Your stage site is ready! Visit it here: https://wonderful-river-0b8108510-106.centralus.azurestaticapps.net

@github-actions
Copy link

github-actions bot commented May 6, 2022

Azure Static Web Apps: Your stage site is ready! Visit it here: https://wonderful-river-0b8108510-106.centralus.azurestaticapps.net

@jelster
Copy link
Owner Author

jelster commented May 6, 2022

FYI - this PR's commit history is a bit of a mess b/c I at first failed to properly get my hand-crafted PWA manifest output into the dist folder along with icons and links. So I tried using this package that can generate and inject the manifest. Simple, right?

wrong.

Unfortunately, the maintainer of this project isn't... well, maintaining the project any longer, and the last update was a couple years ago prior to the release of WebPack v5.0, which contains a number of breaking changes from the previous version. All of which goes to say that I wasn't confident that using a generated manifest was a great approach, then I tried the CopyFilePlugin approach and it seems to work exactly as needed.

@github-actions
Copy link

github-actions bot commented Jun 3, 2022

Azure Static Web Apps: Your stage site is ready! Visit it here: https://wonderful-river-0b8108510-106.centralus.azurestaticapps.net

@github-actions
Copy link

github-actions bot commented Jun 4, 2022

Azure Static Web Apps: Your stage site is ready! Visit it here: https://wonderful-river-0b8108510-106.centralus.azurestaticapps.net

@jelster jelster merged commit 237d189 into develop Jun 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant