-
-
Notifications
You must be signed in to change notification settings - Fork 215
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
Add error handling to workbox import. #646
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
✅ Deploy Preview for vite-plugin-pwa-legacy ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
userquin
reviewed
Jan 22, 2024
Updated. |
userquin
approved these changes
Jan 24, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thx
renovate bot
referenced
this pull request
in SebastianGoeb/chinese-chart
Jan 26, 2024
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [vite-plugin-pwa](https://togithub.com/vite-pwa/vite-plugin-pwa) | [`0.17.4` -> `0.17.5`](https://renovatebot.com/diffs/npm/vite-plugin-pwa/0.17.4/0.17.5) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vite-plugin-pwa/0.17.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vite-plugin-pwa/0.17.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vite-plugin-pwa/0.17.4/0.17.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vite-plugin-pwa/0.17.4/0.17.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vite-pwa/vite-plugin-pwa (vite-plugin-pwa)</summary> ### [`v0.17.5`](https://togithub.com/vite-pwa/vite-plugin-pwa/releases/tag/v0.17.5) [Compare Source](https://togithub.com/vite-pwa/vite-plugin-pwa/compare/v0.17.4...v0.17.5) ##### 🚀 Features - Add error handling when importing workbox-window. - by [@​cpojer](https://togithub.com/cpojer) and [@​userquin](https://togithub.com/userquin) in [https://github.com/vite-pwa/vite-plugin-pwa/issues/646](https://togithub.com/vite-pwa/vite-plugin-pwa/issues/646) [<samp>(b3350)</samp>](https://togithub.com/vite-pwa/vite-plugin-pwa/commit/b3350c8) - Override dev-dist assets between restarts - by [@​userquin](https://togithub.com/userquin) in [https://github.com/vite-pwa/vite-plugin-pwa/issues/650](https://togithub.com/vite-pwa/vite-plugin-pwa/issues/650) [<samp>(0e679)</samp>](https://togithub.com/vite-pwa/vite-plugin-pwa/commit/0e6799f) ##### [View changes on GitHub](https://togithub.com/vite-pwa/vite-plugin-pwa/compare/v0.17.4...v0.17.5) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 4am" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/SebastianGoeb/chinese-chart). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMzUuMCIsInVwZGF0ZWRJblZlciI6IjM3LjEzNS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I've seen the the dynamic import for workbox fail on older browsers, see #645. This PR adds basic error handling to ignore the workbox setup in such situations.
Fixes #645.