Created
July 29, 2022 07:11
-
-
Save clukhei/ba1a26be643016570d8c62a30ed275f1 to your computer and use it in GitHub Desktop.
Subpath Imports tsconfig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"compilerOptions": { | |
"target": "esnext", | |
"module": "esnext", | |
"lib": ["dom", "esnext"], | |
// output .d.ts declaration files for consumers | |
"declaration": true, | |
"declarationDir": "dist", | |
// output .js.map sourcemap files for consumers | |
"sourceMap": true, | |
"rootDir": "src", | |
... | |
}, | |
"include": ["src/**/*"], | |
"exclude": [ | |
"node_modules", | |
"build", | |
"src/**/*.stories.tsx", | |
"src/**/*.test.tsx" | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment