Skip to content

Commit e28276f

Browse files
committed
fix: update tsconfig to use bundler module resolution and add ignoreDeprecations option
1 parent b705108 commit e28276f

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

docs/tsconfig.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
// This file is not used in compilation. It is here just for a nice editor experience.
33
"extends": "@docusaurus/tsconfig",
44
"compilerOptions": {
5-
"baseUrl": ".",
65
"module": "NodeNext",
76
"moduleResolution": "NodeNext",
87
"forceConsistentCasingInFileNames": true,
9-
"strict": true
8+
"strict": true,
9+
"ignoreDeprecations": "6.0"
1010
}
1111
}

tsconfig.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,9 @@
77
"strict": true,
88
"forceConsistentCasingInFileNames": true,
99
"esModuleInterop": true,
10-
"moduleResolution": "node",
11-
"lib": ["esnext", "DOM"]
10+
"moduleResolution": "bundler",
11+
"lib": ["esnext", "DOM"],
12+
"ignoreDeprecations": "6.0"
1213
},
1314
"exclude": ["dist", "node_modules", "docs"]
1415
}

0 commit comments

Comments
 (0)