Skip to content
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

fix: Resolve invalid next config warning #70

Merged
merged 5 commits into from
Aug 25, 2022

Conversation

0xMirim
Copy link
Contributor

@0xMirim 0xMirim commented Aug 22, 2022

Description

I upgraded the next-pwa dependency (5.5.4 -> 5.6.0) to solve an invalid config warning from next.config.js. This warning (image below) was consistently visible when running the site with yarn dev. This issue had been experienced by others and had been reported to the next-pwa maintainers who addressed it in the release 5.5.5.

Release 5.6.0 was the latest release at the time I went to update this dependency. It is listed as a breaking change but only required minor modification to the next.config.js file. My thought is that running latest version of dependencies is good as long as it doesn't cause additional issues, so I upgraded to the latest. The original warning is no longer present and the site continues to work as normal.

pwa-invalid

Type of change

  • Other - Resolve warning

Change details

N/A

Resources

next-pwa 5.6.0 Release Notes

next-pwa 5.5.5 Release Notes

Upgraded next-pwa dependency minor version to solve invalid config warning in next.config.js
@0xMirim 0xMirim changed the title fix: Resolve invalid config warning fix: Resolve invalid next config warning Aug 25, 2022
@vercel
Copy link

vercel bot commented Aug 25, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
yearn-vaults-descriptions ✅ Ready (Inspect) Visit Preview Aug 25, 2022 at 5:58AM (UTC)

Upgraded next-pwa dependency minor version (5.5.5 -> 5.6.0 [breaking] ) to solve invalid config warning in next.config.js
@0xMirim
Copy link
Contributor Author

0xMirim commented Aug 25, 2022

@Majorfi This PR is ready for review (equivalent PR is also present in web-template repo will also tag you there)

@Majorfi Majorfi merged commit 6654f98 into yearn:main Aug 25, 2022
@0xMirim 0xMirim deleted the fix-invalid-config branch August 25, 2022 17:31
@0xMirim 0xMirim mentioned this pull request Aug 30, 2022
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants