Skip to content

Commit d443c22

Browse files
authoredAug 23, 2022
Merge pull request #8095 from marmelab/fix-missing-sourcemaps
Fix sourcemaps are missing from build
2 parents cabb546 + a5c6496 commit d443c22

File tree

15 files changed

+3
-31
lines changed

15 files changed

+3
-31
lines changed
 

‎packages/ra-core/tsconfig.json

-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
"compilerOptions": {
44
"outDir": "lib",
55
"rootDir": "src",
6-
"declaration": true,
7-
"declarationMap": true,
86
"allowJs": false
97
},
108
"exclude": [

‎packages/ra-data-fakerest/tsconfig.json

-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
"compilerOptions": {
44
"outDir": "lib",
55
"rootDir": "src",
6-
"declaration": true,
7-
"declarationMap": true,
86
"allowJs": false
97
},
108
"exclude": ["**/*.spec.ts", "**/*.spec.tsx", "**/*.spec.js"],

‎packages/ra-data-graphql-simple/tsconfig.json

-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
"compilerOptions": {
44
"outDir": "lib",
55
"rootDir": "src",
6-
"declaration": true,
7-
"declarationMap": true,
86
"allowJs": false
97
},
108
"exclude": [

‎packages/ra-data-graphql/tsconfig.json

-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
"compilerOptions": {
44
"outDir": "lib",
55
"rootDir": "src",
6-
"declaration": true,
7-
"declarationMap": true,
86
"allowJs": false
97
},
108
"exclude": [

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

-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
"compilerOptions": {
44
"outDir": "lib",
55
"rootDir": "src",
6-
"declaration": true,
7-
"declarationMap": true,
86
"allowJs": false
97
},
108
"exclude": ["**/*.spec.ts", "**/*.spec.tsx", "**/*.spec.js"],

‎packages/ra-data-localstorage/tsconfig.json

-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
"compilerOptions": {
44
"outDir": "lib",
55
"rootDir": "src",
6-
"declaration": true,
7-
"declarationMap": true,
86
"allowJs": false
97
},
108
"exclude": ["**/*.spec.ts", "**/*.spec.tsx", "**/*.spec.js"],

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

-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
"compilerOptions": {
44
"outDir": "lib",
55
"rootDir": "src",
6-
"declaration": true,
7-
"declarationMap": true,
86
"allowJs": false
97
},
108
"exclude": ["**/*.spec.ts", "**/*.spec.tsx", "**/*.spec.js"],

‎packages/ra-i18n-polyglot/tsconfig.json

-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
"compilerOptions": {
44
"outDir": "lib",
55
"rootDir": "src",
6-
"declaration": true,
7-
"declarationMap": true,
86
"allowJs": false
97
},
108
"exclude": ["**/*.spec.ts", "**/*.spec.tsx", "**/*.spec.js"],

‎packages/ra-input-rich-text/tsconfig.json

-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
"compilerOptions": {
44
"outDir": "lib",
55
"rootDir": "src",
6-
"declaration": true,
7-
"declarationMap": true,
86
"allowJs": false
97
},
108
"exclude": ["**/*.spec.ts", "**/*.spec.tsx", "**/*.spec.js"],

‎packages/ra-language-english/tsconfig.json

-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
"compilerOptions": {
44
"outDir": "lib",
55
"rootDir": "src",
6-
"declaration": true,
7-
"declarationMap": true,
86
"allowJs": false
97
},
108
"exclude": ["**/*.spec.ts", "**/*.spec.tsx", "**/*.spec.js"],

‎packages/ra-language-french/tsconfig.json

-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
"compilerOptions": {
44
"outDir": "lib",
55
"rootDir": "src",
6-
"declaration": true,
7-
"declarationMap": true,
86
"allowJs": false
97
},
108
"exclude": ["**/*.spec.ts", "**/*.spec.tsx", "**/*.spec.js"],

‎packages/ra-no-code/tsconfig.json

-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
"compilerOptions": {
44
"outDir": "lib",
55
"rootDir": "src",
6-
"declaration": true,
7-
"declarationMap": true,
86
"allowJs": false,
97
"types": [
108
"jest",

‎packages/ra-ui-materialui/tsconfig.json

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

‎packages/react-admin/tsconfig.json

-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
"compilerOptions": {
44
"outDir": "lib",
55
"rootDir": "src",
6-
"declaration": true,
7-
"declarationMap": true,
86
"allowJs": false
97
},
108
"exclude": ["**/*.spec.ts", "**/*.spec.tsx", "**/*.spec.js"],

‎tsconfig.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
"allowJs": true /* Allow javascript files to be compiled. */,
1111
// "checkJs": true, /* Report errors in .js files. */
1212
"jsx": "react" /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */,
13-
// "declaration": true /* Generates corresponding '.d.ts' file. */,
14-
// "declarationMap": true, /* Generates a sourcemap for each corresponding '.d.ts' file. */
15-
// "sourceMap": true /* Generates corresponding '.map' file. */,
13+
"declaration": true /* Generates corresponding '.d.ts' file. */,
14+
"declarationMap": true, /* Generates a sourcemap for each corresponding '.d.ts' file. */
15+
"sourceMap": true /* Generates corresponding '.map' file. */,
1616
// "outFile": "./", /* Concatenate and emit output to single file. */
1717
// "outDir": "./lib", /* Redirect output structure to the directory. */
1818
// "rootDir": "./", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */

0 commit comments

Comments
 (0)
Please sign in to comment.