Skip to content

Commit

Permalink
Fix Go to definition goes to the compiled code in VSCode
Browse files Browse the repository at this point in the history
  • Loading branch information
fzaninotto committed Mar 15, 2021
1 parent 5d8ae19 commit 6f245ef
Show file tree
Hide file tree
Showing 11 changed files with 12 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/ra-core/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"outDir": "lib",
"rootDir": "src",
"declaration": true,
"declarationMap": true,
"allowJs": false
},
"exclude": ["**/*.spec.ts", "**/*.spec.tsx", "**/*.spec.js"],
Expand Down
1 change: 1 addition & 0 deletions packages/ra-data-fakerest/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"outDir": "lib",
"rootDir": "src",
"declaration": true,
"declarationMap": true,
"allowJs": false
},
"exclude": ["**/*.spec.ts", "**/*.spec.tsx", "**/*.spec.js"],
Expand Down
1 change: 1 addition & 0 deletions packages/ra-data-json-server/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"outDir": "lib",
"rootDir": "src",
"declaration": true,
"declarationMap": true,
"allowJs": false
},
"exclude": ["**/*.spec.ts", "**/*.spec.tsx", "**/*.spec.js"],
Expand Down
1 change: 1 addition & 0 deletions packages/ra-data-localstorage/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"outDir": "lib",
"rootDir": "src",
"declaration": true,
"declarationMap": true,
"allowJs": false
},
"exclude": ["**/*.spec.ts", "**/*.spec.tsx", "**/*.spec.js"],
Expand Down
1 change: 1 addition & 0 deletions packages/ra-data-simple-rest/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"outDir": "lib",
"rootDir": "src",
"declaration": true,
"declarationMap": true,
"allowJs": false
},
"exclude": ["**/*.spec.ts", "**/*.spec.tsx", "**/*.spec.js"],
Expand Down
1 change: 1 addition & 0 deletions packages/ra-i18n-polyglot/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"outDir": "lib",
"rootDir": "src",
"declaration": true,
"declarationMap": true,
"allowJs": false
},
"exclude": ["**/*.spec.ts", "**/*.spec.tsx", "**/*.spec.js"],
Expand Down
1 change: 1 addition & 0 deletions packages/ra-language-english/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"outDir": "lib",
"rootDir": "src",
"declaration": true,
"declarationMap": true,
"allowJs": false
},
"exclude": ["**/*.spec.ts", "**/*.spec.tsx", "**/*.spec.js"],
Expand Down
1 change: 1 addition & 0 deletions packages/ra-language-french/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"outDir": "lib",
"rootDir": "src",
"declaration": true,
"declarationMap": true,
"allowJs": false
},
"exclude": ["**/*.spec.ts", "**/*.spec.tsx", "**/*.spec.js"],
Expand Down
1 change: 1 addition & 0 deletions packages/ra-test/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"outDir": "lib",
"rootDir": "src",
"declaration": true,
"declarationMap": true,
"allowJs": false
},
"exclude": ["**/*.spec.ts", "**/*.spec.tsx", "**/*.spec.js"],
Expand Down
3 changes: 2 additions & 1 deletion packages/ra-ui-materialui/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"compilerOptions": {
"outDir": "lib",
"rootDir": "src",
"declaration": true
"declaration": true,
"declarationMap": true
},
"exclude": ["**/*.spec.ts", "**/*.spec.tsx", "**/*.spec.js"],
"include": ["src"]
Expand Down
1 change: 1 addition & 0 deletions packages/react-admin/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"outDir": "lib",
"rootDir": "src",
"declaration": true,
"declarationMap": true,
"allowJs": false
},
"exclude": ["**/*.spec.ts", "**/*.spec.tsx", "**/*.spec.js"],
Expand Down

0 comments on commit 6f245ef

Please sign in to comment.