Skip to content

Commit f83047f

Browse files
copy tsconfig from elysia-rate-limit
1 parent 4b1e30a commit f83047f

File tree

2 files changed

+26
-6
lines changed

2 files changed

+26
-6
lines changed

tsconfig.esm.json

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"compilerOptions": {
3+
"target": "ES2021",
4+
"lib": ["ESNext", "DOM", "ScriptHost"],
5+
"module": "ES2022",
6+
"moduleResolution": "node",
7+
"types": ["bun-types"],
8+
"declaration": true,
9+
"outDir": "./dist",
10+
"removeComments": true,
11+
"esModuleInterop": true,
12+
"forceConsistentCasingInFileNames": true,
13+
"strict": true,
14+
"skipLibCheck": true
15+
},
16+
"include": ["src/**/*"],
17+
"exclude": ["node_modules/**/*", "dist"]
18+
}

tsconfig.json

+8-6
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,20 @@
22
"compilerOptions": {
33
"esModuleInterop": true,
44
"skipLibCheck": true,
5-
"target": "es2022",
5+
"target": "ES2021",
66
"allowJs": true,
77
"resolveJsonModule": true,
88
"moduleDetection": "force",
99
"isolatedModules": true,
1010
"strict": true,
1111
"noUncheckedIndexedAccess": true,
12-
"moduleResolution": "NodeNext",
13-
"module": "NodeNext",
12+
"moduleResolution": "node",
13+
"module": "ES2022",
1414
"outDir": "dist",
15-
"lib": ["es2022"],
16-
"declaration": true
15+
"lib": ["ESNext", "DOM", "ScriptHost"],
16+
"declaration": true,
17+
"removeComments": true,
18+
"types": ["bun-types"]
1719
},
18-
"include": ["src/**/*"],
20+
"include": ["src/**/*"]
1921
}

0 commit comments

Comments
 (0)