Skip to content

Commit b2dd137

Browse files
committed
chore: fix cjs build
1 parent 437e719 commit b2dd137

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

tsconfig.cjs.json

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,17 @@
11
{
22
"extends": "./tsconfig.build.json",
33
"compilerOptions": {
4-
"module": "node16",
5-
"outDir": "./dist/cjs"
4+
"module": "commonjs",
5+
"moduleResolution": "node",
6+
"outDir": "./dist/cjs",
7+
"paths": {
8+
"mongodb-connection-string-url": [
9+
"./node_modules/mongodb-connection-string-url/lib/index.d.ts"
10+
],
11+
"ts-levenshtein": ["./node_modules/ts-levenshtein/dist/index.d.mts"],
12+
"@mongosh/arg-parser/arg-parser": [
13+
"./node_modules/@mongosh/arg-parser/lib/arg-parser"
14+
]
15+
}
616
}
717
}

0 commit comments

Comments
 (0)