-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
26 lines (26 loc) · 1.04 KB
/
tsconfig.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{
"compilerOptions": {
// Basic compiler options
"target": "esnext", // Set the target JavaScript version to modern ES modules
"module": "ESNext", // Set the module system to ES modules
"strict": true, // Enable all strict type checking options
"esModuleInterop": true, // Allow emit ES modules and JSX files into ES modules
"outDir": "./dist", // Output directory for compiled files
"rootDir": "./src", // Root directory for source files
"declaration": true, // Generate declaration files
"allowJs": true, // Allow JavaScript files
"declarationMap": true, // "Go to Definition" in VSCode
"moduleResolution": "node"
},
"include": [
"./src/**/*"
],
"exclude": [
"**/node_modules/**", // Exclude the yarn pnp package directory from being included
"**/node_modules/**/*", // Recursively exclude all files within the node_modules directory, including under the .yarn folder
".yarn/**/*",
"**/*.ts",
"**/*.stories.*",
"./src/stories/**/*"
]
}