Skip to content

Instantly share code, notes, and snippets.

@ardasevinc
Created June 25, 2024 17:27
Show Gist options
  • Save ardasevinc/0952ee88748e1b471b6567c85bf97570 to your computer and use it in GitHub Desktop.
Save ardasevinc/0952ee88748e1b471b6567c85bf97570 to your computer and use it in GitHub Desktop.
tsconfig for pure esm node.js projects
{
"compilerOptions": {
"module": "Node16",
"moduleResolution": "Node16",
"baseUrl": "./",
"paths": {
"@/*": ["./src/*"]
},
"outDir": "./dist",
"removeComments": true,
"noEmitOnError": false,
"esModuleInterop": true,
"strict": true,
"skipLibCheck": true,
"sourceMap": true,
"resolveJsonModule": true,
"newLine": "lf",
"noUnusedLocals": true,
"noFallthroughCasesInSwitch": true,
"isolatedModules": true,
"lib": ["ESNext"]
},
"include": ["./src/**/*.ts"]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment