Skip to content

Commit 6f245ef

Browse files
committed
Fix Go to definition goes to the compiled code in VSCode
1 parent 5d8ae19 commit 6f245ef

File tree

11 files changed

+12
-1
lines changed

11 files changed

+12
-1
lines changed

packages/ra-core/tsconfig.json

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"outDir": "lib",
55
"rootDir": "src",
66
"declaration": true,
7+
"declarationMap": true,
78
"allowJs": false
89
},
910
"exclude": ["**/*.spec.ts", "**/*.spec.tsx", "**/*.spec.js"],

packages/ra-data-fakerest/tsconfig.json

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"outDir": "lib",
55
"rootDir": "src",
66
"declaration": true,
7+
"declarationMap": true,
78
"allowJs": false
89
},
910
"exclude": ["**/*.spec.ts", "**/*.spec.tsx", "**/*.spec.js"],

packages/ra-data-json-server/tsconfig.json

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"outDir": "lib",
55
"rootDir": "src",
66
"declaration": true,
7+
"declarationMap": true,
78
"allowJs": false
89
},
910
"exclude": ["**/*.spec.ts", "**/*.spec.tsx", "**/*.spec.js"],

packages/ra-data-localstorage/tsconfig.json

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"outDir": "lib",
55
"rootDir": "src",
66
"declaration": true,
7+
"declarationMap": true,
78
"allowJs": false
89
},
910
"exclude": ["**/*.spec.ts", "**/*.spec.tsx", "**/*.spec.js"],

packages/ra-data-simple-rest/tsconfig.json

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"outDir": "lib",
55
"rootDir": "src",
66
"declaration": true,
7+
"declarationMap": true,
78
"allowJs": false
89
},
910
"exclude": ["**/*.spec.ts", "**/*.spec.tsx", "**/*.spec.js"],

packages/ra-i18n-polyglot/tsconfig.json

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"outDir": "lib",
55
"rootDir": "src",
66
"declaration": true,
7+
"declarationMap": true,
78
"allowJs": false
89
},
910
"exclude": ["**/*.spec.ts", "**/*.spec.tsx", "**/*.spec.js"],

packages/ra-language-english/tsconfig.json

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"outDir": "lib",
55
"rootDir": "src",
66
"declaration": true,
7+
"declarationMap": true,
78
"allowJs": false
89
},
910
"exclude": ["**/*.spec.ts", "**/*.spec.tsx", "**/*.spec.js"],

packages/ra-language-french/tsconfig.json

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"outDir": "lib",
55
"rootDir": "src",
66
"declaration": true,
7+
"declarationMap": true,
78
"allowJs": false
89
},
910
"exclude": ["**/*.spec.ts", "**/*.spec.tsx", "**/*.spec.js"],

packages/ra-test/tsconfig.json

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"outDir": "lib",
55
"rootDir": "src",
66
"declaration": true,
7+
"declarationMap": true,
78
"allowJs": false
89
},
910
"exclude": ["**/*.spec.ts", "**/*.spec.tsx", "**/*.spec.js"],

packages/ra-ui-materialui/tsconfig.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
"compilerOptions": {
44
"outDir": "lib",
55
"rootDir": "src",
6-
"declaration": true
6+
"declaration": true,
7+
"declarationMap": true
78
},
89
"exclude": ["**/*.spec.ts", "**/*.spec.tsx", "**/*.spec.js"],
910
"include": ["src"]

packages/react-admin/tsconfig.json

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"outDir": "lib",
55
"rootDir": "src",
66
"declaration": true,
7+
"declarationMap": true,
78
"allowJs": false
89
},
910
"exclude": ["**/*.spec.ts", "**/*.spec.tsx", "**/*.spec.js"],

0 commit comments

Comments
 (0)