-
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6f27307
commit 7b60026
Showing
11 changed files
with
3,744 additions
and
166 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,15 @@ | ||
/** @type {import('next').NextConfig} */ | ||
const nextConfig = { | ||
reactStrictMode: true, | ||
import withPWA from "next-pwa"; | ||
|
||
const config = { | ||
dest: "public", | ||
disable: process.env.NODE_ENV === "development", | ||
register: true, | ||
sw: "service-worker.js", | ||
}; | ||
|
||
export default nextConfig; | ||
const withPWAConfig = withPWA(config); | ||
|
||
export default { | ||
...withPWAConfig, | ||
reactStrictMode: false, | ||
}; |
Oops, something went wrong.