Update dependency @ducanh2912/next-pwa to v9.7.2 #15
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.
This PR contains the following updates:
9.2.0
->9.7.2
Release Notes
DuCanhGH/next-pwa (@ducanh2912/next-pwa)
v9.7.2
Compare Source
Patch Changes
78ce4fb
Thanks @DuCanhGH! - fix(next-pwa): fixed InjectManifest crashing due tobabelPresetEnvTargets
being setGenerateSW
, so if there's any unexpected change that arises from this, I'm really sorry. This affects you if you useimportScripts
, which used to cause the custom worker and the fallback worker to not be imported into your service worker.v9.7.1
Compare Source
Patch Changes
#96
27d5f20
Thanks @DuCanhGH! - fix: removelazy
andimportInterop
from.swcrc
Seems that these values are no longer allowed with
module.type
set to"es6"
or"nodenext"
.In addition,
jsc.parser.tsx
has been set to false as it doesn't really make sense to use React in these workers.v9.7.0
Compare Source
Minor Changes
#90
c24e175
Thanks @DuCanhGH! - feat: addedwatchWorkersInDev
PluginOptions.watchWorkersInDev
totrue
. After a change is detected andwebpack
rebuilds the custom worker, you have to reload the page for it to take effect.#90
c24e175
Thanks @DuCanhGH! - feat: added.webm
todefaultCache
'sstatic-video-assets
.webm
files inworkboxOptions.runtimeCaching
andextendDefaultRuntimeCaching
, then Workbox will still pick that entry).v9.6.0
Compare Source
Minor Changes
#84
12a6542
Thanks @DuCanhGH! - feat: addedPluginOptions.browserslist
"chrome >= 56"
, same with Workbox's default..browserslistrc
,package.json.browserslist
, etc. are not supported (yet), and the only way to pass the config tonext-pwa
isPluginOptions.browserslist
, but you can read the file yourself, parse it, then pass it tonext-pwa
.next-pwa
to addPluginOptions.workboxOptions.babelPresetEnvTargets
if that option is not defined, which means that the service worker will, too, be bundled to target these browsers, but you can change that by adding the option.#84
12a6542
Thanks @DuCanhGH! - feat: support Next's new logging stylev9.5.0
Compare Source
Minor Changes
#74
158ebe1
Thanks @DuCanhGH! - refactor: removed'activated'
event listeners insw-entry.ts
runtimeCaching
. Though, this is merely an assumption and might cause issues for some people.Do open a new issue if you are one of them :)
v9.4.0
Compare Source
Minor Changes
#62
771de70
Thanks @DuCanhGH! - feat(next-pwa): addedcustomWorkerDest
,customWorkerPrefix
, use file hashing for workers' output filenames' suffixcustomWorkerPrefix
works like oursw
option, except that it is just a prefix and not the whole name to allow having a hash at the end of the custom worker's output filename.customWorkerDir
and replaces it withcustomWorkerSrc
to align withcustomWorkerDest
so as to avoid confusion.buildId
for our workers' output filenames' suffix.v9.3.0
Compare Source
Minor Changes
#58
b88526a
Thanks @DuCanhGH! - chore: revert addingwebpack
todependencies
workbox-webpack-plugin
fails to resolvewebpack
indevelopment mode.
webpack
as adevDependency
to avoid the aforementioned issue. This is quite a breakingchange, but it is due to a bug and I've decided against making a major jump. It is recommended to just upgrade to Next 13.4.10 (and still have
webpack
installed, as it is one of ourpeerDependencies
).v9.2.1
Compare Source
Patch Changes
#55
c8523d5
Thanks @DuCanhGH! - chore(deps): updated dependencies, movedwebpack
to"dependencies"
webpack
is now a dependency rather than a peer dependency.webpack
with Next'swebpack
instance.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ 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.
This PR was generated by Mend Renovate. View the repository job log.