You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A client app team working on a Nextjs app recently added the next-pwa toolchain, and what we are noticing is that even if all inputs (i.e. dependencies and source files) have not changed, the output file is not reproducible -- it keeps changing every build, which is breaking our build caching.
Versions
next-pwa: 5.6.0
next: 13.5.6
How To Reproduce
We added the following config block to the next.config.js file:
Run next build again (no other files in repo have been modified)
EXPECTED: git status contains no diffs, output file is identical to previous one
ACTUAL: git status contains diffs, a very big compressed line has changed in the service worker output
The text was updated successfully, but these errors were encountered:
Summary
A client app team working on a Nextjs app recently added the next-pwa toolchain, and what we are noticing is that even if all inputs (i.e. dependencies and source files) have not changed, the output file is not reproducible -- it keeps changing every build, which is breaking our build caching.
Versions
next-pwa
: 5.6.0next
: 13.5.6How To Reproduce
We added the following config block to the
next.config.js
file:next build
git add public/_next_service-worker.js
next build
again (no other files in repo have been modified)EXPECTED:
git status
contains no diffs, output file is identical to previous oneACTUAL:
git status
contains diffs, a very big compressed line has changed in the service worker outputThe text was updated successfully, but these errors were encountered: