-
Notifications
You must be signed in to change notification settings - Fork 99
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
456c6bd
commit c523750
Showing
13 changed files
with
3,986 additions
and
5,667 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
ui/ | ||
*.d.ts | ||
*.d.ts | ||
*.config.* |
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 |
---|---|---|
|
@@ -25,8 +25,5 @@ | |
"argsIgnorePattern": "^_" | ||
} | ||
] | ||
}, | ||
"ignorePatterns": [ | ||
"*.config.js" | ||
] | ||
} | ||
} |
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 |
---|---|---|
|
@@ -40,7 +40,7 @@ next-env.d.ts | |
.idea | ||
|
||
# worker | ||
sw.* | ||
sw.js | ||
workbox-*.* | ||
.react-email | ||
.env* | ||
|
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 was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,26 @@ | ||
import withSerwistInit from "@serwist/next"; | ||
|
||
const withSerwist = withSerwistInit({ | ||
// Note: This is only an example. If you use Pages Router, | ||
// use something else that works, such as "service-worker/index.ts". | ||
swSrc: "src/app/sw.ts", | ||
swDest: "public/sw.js", | ||
}); | ||
|
||
const nextConfig = { | ||
redirects: async () => { | ||
return [ | ||
{ | ||
source: "/dashboard", | ||
destination: "/dashboard/projects", | ||
permanent: false, | ||
}, | ||
]; | ||
}, | ||
trailingSlash: true, | ||
eslint: { | ||
ignoreDuringBuilds: true, | ||
}, | ||
}; | ||
|
||
export default withSerwist(nextConfig); |
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
Oops, something went wrong.