Skip to content

Commit

Permalink
Prevent standalone builds from modifying the tsconfig.json.
Browse files Browse the repository at this point in the history
  • Loading branch information
enricoros committed Feb 18, 2024
1 parent 72bb318 commit 6c51a36
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@
"~/server/*": ["src/server/*"]
}
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts",
// this is here only because otherwise, during standalone build the process would update this file
"dist/types/**/*.ts"
],
"exclude": ["node_modules", "dist", "electron"]
}

0 comments on commit 6c51a36

Please sign in to comment.