Skip to content

Commit 8728590

Browse files
committed
chore: use rootDir instead of includes in tsconfig
Fixes the type definitions generation on eslint-config-next by setting the rootDir option, so it generates the .d.ts files in the dist folder instead of dist/src.
1 parent 3823a60 commit 8728590

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/eslint-config-next/tsconfig.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
"strict": true,
88
"declaration": true,
99
"resolveJsonModule": true,
10-
"outDir": "dist"
10+
"outDir": "dist",
11+
"rootDir": "src"
1112
},
12-
"include": ["src/**/*"],
1313
"exclude": ["node_modules", "dist"]
1414
}

0 commit comments

Comments
 (0)