Skip to content

Repository files navigation

🚫 next-dont

A tiny patch preventing Next.js from modifying your tsconfig.json

🕹️ Usage

bunx next-dont

This patches your local node_modules/next to stop Next.js from injecting or modifying fields in your tsconfig.json.

To apply the patch automatically after every deps install, add it to your prepare script:

{
  "scripts": {
    "prepare": "bunx next-dont"
  }
}

Releases

Contributors

Languages