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} */
const withPWA = require('next-pwa')
const runtimeCaching = require('next-pwa/cache')
const withPWA = require('next-pwa')({
dest: 'public',
})
module.exports = withPWA({
pwa: {
dest: 'public',
runtimeCaching,
},
// config
})
......@@ -7,9 +7,9 @@
},
"dependencies": {
"next": "latest",
"next-pwa": "5.5.4",
"react": "^17.0.2",
"react-dom": "^17.0.2"
"next-pwa": "^5.6.0",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"@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