Merged in feat/shared-ts-config (pull request #1610)
Add typescript-config package with shared configs * Move web config to shared * Move design-system ts config to typescript-config package * Move redis-api tsconfig to typescript-config package * Sort tsconfig keys * Update react-library tsconfig Move declaration and declarationMap from base Add sourceMap This fixes Go-to-Definition, debugging and similar in packages/apps where it is consumed * Update base config module and moduleResolution Approved-by: Michael Zetterberg Approved-by: Christian Andolf
This commit is contained in:
13
packages/typescript-config/react-library.json
Normal file
13
packages/typescript-config/react-library.json
Normal file
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"$schema": "https://json.schemastore.org/tsconfig",
|
||||
"extends": "./base.json",
|
||||
"compilerOptions": {
|
||||
"declaration": true,
|
||||
"declarationMap": true,
|
||||
"jsx": "react-jsx",
|
||||
"noFallthroughCasesInSwitch": true,
|
||||
"noUnusedLocals": true,
|
||||
"noUnusedParameters": true,
|
||||
"sourceMap": true
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user