diff --git a/bases/next.json b/bases/next.json index 2baab07..1347647 100644 --- a/bases/next.json +++ b/bases/next.json @@ -1,7 +1,7 @@ { "$schema": "https://json.schemastore.org/tsconfig", "display": "Next.js", - "_version": "2.0.0", + "_version": "2.0.1", "compilerOptions": { "lib": ["dom", "dom.iterable", "esnext"], @@ -17,12 +17,6 @@ "isolatedModules": true, "jsx": "preserve", "incremental": true, - "plugins": [ - { - "name": "next" - } - ] - }, - "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"], - "exclude": ["node_modules"] + "plugins": [{ "name": "next" }] + } } diff --git a/readme-extras/next.md b/readme-extras/next.md new file mode 100644 index 0000000..0b7faf5 --- /dev/null +++ b/readme-extras/next.md @@ -0,0 +1,5 @@ +> **NOTE**: You also need to add the following lines, since they are resolved relative to their location: +> ``` +> "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"], +> "exclude": ["node_modules"] +> ```