Skip to content

Commit 4865a7c

Browse files
committed
update module resolution
1 parent c908a01 commit 4865a7c

File tree

3 files changed

+6
-8
lines changed

3 files changed

+6
-8
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,6 @@
4545
"types": "./dist/client/index.d.ts",
4646
"default": "./dist/client/index.js"
4747
},
48-
"./react": {
49-
"types": "./dist/react/index.d.ts",
50-
"default": "./dist/react/index.js"
51-
},
5248
"./test": "./src/test.ts",
5349
"./_generated/component.js": {
5450
"types": "./dist/component/_generated/component.d.ts"
@@ -63,7 +59,7 @@
6359
"convex-helpers": "^0.1.99"
6460
},
6561
"devDependencies": {
66-
"@edge-runtime/vm": "^5.0.0",
62+
"@edge-runtime/vm": "5.0.0",
6763
"@eslint/eslintrc": "^3.3.1",
6864
"@eslint/js": "^9.38.0",
6965
"@types/node": "20.19.24",
@@ -75,7 +71,7 @@
7571
"eslint-plugin-react-hooks": "^7.0.1",
7672
"eslint-plugin-react-refresh": "^0.4.24",
7773
"globals": "^15.15.0",
78-
"npm-run-all2": "^7.0.2",
74+
"npm-run-all2": "7.0.2",
7975
"pkg-pr-new": "^0.0.54",
8076
"prettier": "3.2.5",
8177
"react": "^19.2.0",

tsconfig.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
"lib": ["ES2021", "dom"],
99
"forceConsistentCasingInFileNames": true,
1010
"allowSyntheticDefaultImports": true,
11+
// We enforce stricter module resolution for Node16 compatibility
12+
// But when building we use Bundler & ESNext for ESM
1113
"module": "NodeNext",
1214
"moduleResolution": "NodeNext",
1315

0 commit comments

Comments
 (0)