Skip to content

Commit 009580f

Browse files
Merge #1837
1837: Fix lack of source maps in ESM output r=Strift a=flevi29 # Pull Request ## Related issue Fixes #1834 ## PR checklist Please check if your PR fulfills the following requirements: - [x] Does this PR fix an existing issue, or have you listed the changes applied in the PR description (and why they are needed)? - [x] Have you read the contributing guidelines? - [x] Have you made sure that the title is accurate and descriptive of the changes? Thank you so much for contributing to Meilisearch! Co-authored-by: F. Levi <[email protected]>
2 parents def691d + b5aff48 commit 009580f

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

tsconfig.build.json

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
{
2-
"extends": "./tsconfig.json",
3-
"compilerOptions": { "outDir": "./dist/esm" },
4-
"include": ["src/**/*.ts"]
2+
"extends": "./tsconfig.json",
3+
"compilerOptions": {
4+
"declaration": true,
5+
"declarationMap": true,
6+
"declarationDir": "./dist/types",
7+
"sourceMap": true,
8+
"outDir": "./dist/esm"
9+
},
10+
"include": ["src/**/*.ts"]
511
}

tsconfig.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@
22
"compilerOptions": {
33
// We don't want to check node_modules
44
"skipLibCheck": true,
5-
"declaration": true,
6-
"declarationMap": true,
7-
"declarationDir": "./dist/types",
85
"module": "node16",
96
// Node.js 18 supports up to ES2022 according to https://www.npmjs.com/package/@tsconfig/node18
107
"target": "es2022",

0 commit comments

Comments
 (0)