-
Notifications
You must be signed in to change notification settings - Fork 2
/
tsconfig.json
19 lines (19 loc) · 1.12 KB
/
tsconfig.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{
"compilerOptions": {
"module": "ES2020", // Use ESNext module syntax
"target": "es2020", // Set the target ECMAScript version
"outDir": "./dist", // Output compiled files to the dist directory
"rootDir": "./src", // Source files are in the src directory
"strict": true, // Enable strict type-checking options
"esModuleInterop": true, // Enables compatibility with CommonJS and ES modules
"skipLibCheck": true, // Skip type checking of declaration files
"forceConsistentCasingInFileNames": true, // Disallow inconsistently-cased references to the same file
"moduleResolution": "node", // Use Node's module resolution strategy
"baseUrl": "./", // Base directory for resolving non-relative module names
"paths": {
"discord.js": ["node_modules/discord.js/src/index"] // Resolve 'discord.js' from node_modules
}
},
"include": ["src/**/*"],
"exclude": ["node_modules"]
}