Unverified Commit a7d04ab9 authored by 이선우's avatar 이선우 Committed by GitHub

Update next pwa version in pwa example (#41386)

This PR contains changes made by updating the next-pwa to version [`5.6.0`](https://github.com/shadowwalker/next-pwa/releases/tag/5.6.0)


## Documentation / Examples

- [x] Make sure the linting passes by running `pnpm lint`
- [x] The "examples guidelines" are followed from [our contributing doc](https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md)
Co-authored-by: 's avatarBalázs Orbán <18369201+balazsorban44@users.noreply.github.com>
parent af739ed8
/** @type {import('next').NextConfig} */ /** @type {import('next').NextConfig} */
const withPWA = require('next-pwa') const withPWA = require('next-pwa')({
const runtimeCaching = require('next-pwa/cache') dest: 'public',
})
module.exports = withPWA({ module.exports = withPWA({
pwa: { // config
dest: 'public',
runtimeCaching,
},
}) })
...@@ -7,9 +7,9 @@ ...@@ -7,9 +7,9 @@
}, },
"dependencies": { "dependencies": {
"next": "latest", "next": "latest",
"next-pwa": "5.5.4", "next-pwa": "^5.6.0",
"react": "^17.0.2", "react": "^18.2.0",
"react-dom": "^17.0.2" "react-dom": "^18.2.0"
}, },
"devDependencies": { "devDependencies": {
"@types/node": "17.0.4", "@types/node": "17.0.4",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment