An open API service indexing awesome lists of open source software.

https://github.com/kh4f/next-dont

😤 Next.js, don’t mess with my tsconfig
https://github.com/kh4f/next-dont

next-dont next-fix next-patch nextjs tsconfig tsconfig-guard

Last synced: 2 months ago
JSON representation

😤 Next.js, don’t mess with my tsconfig

Awesome Lists containing this project

README

          




logo



npm version 
bundle size 
license



A tiny patch preventing Next.js from messing with your tsconfig

## 🕹️ Usage

```bash
bunx next-dont
```
This patches your local `node_modules/next` to prevent Next.js from making unnecessary changes to the `tsconfig.json`.

For convenience, add `next-dont` to the `prepare` script in `package.json` so the patch is applied automatically after every dependency install:
```json
{
"scripts": {
"prepare": "bunx next-dont"
}
}
```




MIT License © 2026 kh4f