We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 11ef432 commit 3dc548bCopy full SHA for 3dc548b
package.json
@@ -6,10 +6,10 @@
6
"exports": {
7
".": {
8
"import": "./dist/index.js",
9
- "require": "./dist/index.cjs"
+ "require": "./dist/index.js"
10
}
11
},
12
- "main": "./dist/index.cjs",
+ "main": "./dist/index.js",
13
"types": "./dist/index.d.ts",
14
"license": "MIT",
15
"bin": {
@@ -61,4 +61,4 @@
61
"vite": "^6.3.5",
62
"vitest": "^3.2.3"
63
64
-}
+}
tsdown.config.ts
@@ -4,5 +4,4 @@ export default defineConfig({
4
entry: ['./src/index.ts'],
5
platform: 'node',
dts: true,
- format: ['cjs', 'esm'],
});
0 commit comments