Skip to content

Commit f36f01d

Browse files
Use esnext instead nodenext
so that ESM export works
1 parent 8c089e4 commit f36f01d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@
22
"compilerOptions": {
33
"target": "ES2021",
44
"useDefineForClassFields": true,
5-
"module": "NodeNext",
5+
"module": "esnext",
66
"lib": ["ES2020", "DOM", "DOM.Iterable"],
77
"skipLibCheck": true,
8+
"moduleResolution": "node10",
89
"isolatedModules": true,
910
"moduleDetection": "force",
1011
"outDir": "dist/esm",

0 commit comments

Comments
 (0)