Skip to content

@ducanh2912/next-pwa@10.2.0

Choose a tag to compare

@DuCanhGH DuCanhGH released this 11 Jan 05:40
· 38 commits to master since this release
6fa17c9

Minor Changes

  • f65e6ab Thanks @DuCanhGH! - refactor(core): create a context

    • We now leverage a context to share the user's options for Webpack, Next.js, next-pwa, TypeScript, etc. across the codebase. This is better than the old approach, which was similar to props drilling, in that it is more readable and less error-prone.
      • I'd like to extend my thanks to the vite-pwa team for this approach! Learned a lot through forking vite-plugin-pwa, that's for sure.
    • Additionally, the codebase now leverages Biome.js instead of Prettier and ESLint. For now, pre-commit hooks using Husky are not available.
    • Edit: Also, an age-old bug in @ducanh2912/next-pwa has been fixed. If you don't provide additionalManifestEntries, @ducanh2912/next-pwa now runs fast-glob on your public folder for you. The old next-pwa, too, did this, but an extra ?? [] in our fork ruined that...