Skip to content

Commit

Permalink
build(deps): update dependency next-pwa to ^5.6.0 (#1376)
Browse files Browse the repository at this point in the history
* build(deps): update dependency next-pwa to ^5.6.0

* Update next.config.js

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Yamagishi Kazutoshi <[email protected]>
  • Loading branch information
renovate[bot] and ykzts authored Oct 29, 2022
1 parent 06a3eba commit 7d69732
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 11 deletions.
15 changes: 9 additions & 6 deletions next.config.js
Original file line number Diff line number Diff line change
@@ -1,16 +1,19 @@
const withPWA = require('next-pwa')
const nextPWA = require('next-pwa')
const headers = require('./headers.json')
const rewrites = require('./rewrites.json')

const withPWA = nextPWA({
dest: '.next/static',
disable: process.env.NODE_ENV === 'development',
sw: 'service-worker.js'
})

/** @type {import('next').NextConfig */
const nextConfig = {
async headers() {
return headers
},
pwa: {
dest: '.next/static',
disable: process.env.NODE_ENV === 'development',
sw: 'service-worker.js'
},
reactStrictMode: true,
async rewrites() {
return rewrites
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"eslint-config-next": "^12.3.1",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.2.1",
"next-pwa": "^5.5.5",
"next-pwa": "^5.6.0",
"prettier": "~2.7.1",
"typescript": "~4.8.4"
},
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3110,10 +3110,10 @@ natural-compare@^1.4.0:
resolved "https://registry.yarnpkg.com/natural-compare/-/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7"
integrity sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==

next-pwa@^5.5.5:
version "5.5.5"
resolved "https://registry.yarnpkg.com/next-pwa/-/next-pwa-5.5.5.tgz#502165880fb52639b7b4ce7eca41e7797445f06a"
integrity sha512-EdheDzxr3V7piAeW2qAeH0uJW5iouSt7s/Fzz6xuvkmRPgbyqQeRY/3ZOWbhfgbPBuzGjdbBWzVurWJPH8bY5w==
next-pwa@^5.6.0:
version "5.6.0"
resolved "https://registry.yarnpkg.com/next-pwa/-/next-pwa-5.6.0.tgz#f7b1960c4fdd7be4253eb9b41b612ac773392bf4"
integrity sha512-XV8g8C6B7UmViXU8askMEYhWwQ4qc/XqJGnexbLV68hzKaGHZDMtHsm2TNxFcbR7+ypVuth/wwpiIlMwpRJJ5A==
dependencies:
babel-loader "^8.2.5"
clean-webpack-plugin "^4.0.0"
Expand Down

1 comment on commit 7d69732

@vercel
Copy link

@vercel vercel bot commented on 7d69732 Oct 29, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.