Bot releases are visible (Hide)
Published by github-actions[bot] 7 months ago
Published by github-actions[bot] 7 months ago
Published by github-actions[bot] 7 months ago
Published by github-actions[bot] 7 months ago
Published by github-actions[bot] 7 months ago
add4fdd
Thanks @DuCanhGH! - refactor(build): moved framework-specific types out of @serwist/build
Types the likes of WebpackPartial
, WebpackInjectManifestOptions
, ViteInjectManifestOptions
, along with their according validators have been moved out of @serwist/build
.
This design, a relic of Workbox, never made any sense in the first place. As such, we are getting rid of it and migrating to a design where types and validators are co-located with their related packages.
To migrate, update the imports:
@serwist/build.WebpackPartial
-> @serwist/webpack-plugin.WebpackPartial
@serwist/build.WebpackInjectManifestOptions
-> @serwist/webpack-plugin.InjectManifestOptions
@serwist/build.WebpackInjectManifestPartial
-> Omit<import("@serwist/webpack-plugin").InjectManifestOptions, keyof import("@serwist/build").BasePartial | keyof import("@serwist/build").InjectPartial | keyof import("@serwist/webpack-plugin").WebpackPartial | keyof import("@serwist/build").OptionalSwDestPartial>
@serwist/build.ViteInjectManifestOptions
-> @serwist/vite.PluginOptions
With this change, validators and schemas have also been made public. Validators can be imported from "/" files, whereas schemas can be imported from "/schema" ones.
Published by github-actions[bot] 7 months ago
Published by github-actions[bot] 7 months ago
Published by github-actions[bot] 8 months ago
Published by github-actions[bot] 8 months ago
Published by github-actions[bot] 8 months ago
b273b8c
]:
Published by github-actions[bot] 8 months ago
b273b8c
Thanks @DuCanhGH! - fix(sw.handlePrecaching): fixed code still being erroneously executed when precacheEntries
is falsy
cleanupOutdatedCaches
and navigateFallback
when the precache manifest is falsy. Really sorry for the inconvenience!Updated dependencies []:
Published by github-actions[bot] 8 months ago
b273b8c
]:
Published by github-actions[bot] 8 months ago
Published by github-actions[bot] 8 months ago
Published by github-actions[bot] 8 months ago
Published by github-actions[bot] 8 months ago
Published by github-actions[bot] 8 months ago
Published by github-actions[bot] 8 months ago
Published by github-actions[bot] 8 months ago
Published by github-actions[bot] 8 months ago
b273b8c
]: