Skip to content

Commit

Permalink
Add new Next.js settings
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanelian committed Apr 9, 2023
1 parent 1103f57 commit 01654cb
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ const nextConfig = {
// https://nextjs.org/docs/basic-features/data-fetching/get-server-side-props
serverRuntimeConfig: require('./appsettings'),
productionBrowserSourceMaps: true,
reactStrictMode: true,
async headers() {
return [
{
Expand Down
1 change: 1 addition & 0 deletions tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ module.exports = {
content: [
"./pages/**/*.{js,ts,jsx,tsx}",
"./components/**/*.{js,ts,jsx,tsx}",
"./app/**/*.{js,ts,jsx,tsx}",
],
theme: {
extend: {
Expand Down
5 changes: 4 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,10 @@

/* Completeness */
// "skipDefaultLibCheck": true, /* Skip type checking .d.ts files that are included with TypeScript. */
"skipLibCheck": true /* Skip type checking all .d.ts files. */
"skipLibCheck": true, /* Skip type checking all .d.ts files. */
"paths": {
"@/*": ["./*"]
}
},
"include": [
"next-env.d.ts",
Expand Down

0 comments on commit 01654cb

Please sign in to comment.