Skip to content

Commit

Permalink
fix(next-pwa): invalid config on next.config.js
Browse files Browse the repository at this point in the history
fix #352
  • Loading branch information
mateusfg7 committed Aug 29, 2022
1 parent e0d6c54 commit 72a46fd
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions next.config.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
const withPWA = require('next-pwa')
const withPWA = require('next-pwa')({
dest: 'public',
disable: process.env.NODE_ENV === 'development'
})

module.exports = withPWA({
reactStrictMode: true,
pwa: {
dest: 'public',
disable: process.env.NODE_ENV === 'development'
}
})

1 comment on commit 72a46fd

@vercel
Copy link

@vercel vercel bot commented on 72a46fd Aug 29, 2022

Choose a reason for hiding this comment

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

Successfully deployed to the following URLs:

noisekun – ./

noisekun.vercel.app
noisekun-mateusfg7.vercel.app
noisekun-git-main-mateusfg7.vercel.app

Please sign in to comment.