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 549018c commit 95f71f9Copy full SHA for 95f71f9
build.config.ts
@@ -6,7 +6,4 @@ export default defineBuildConfig({
6
],
7
declaration: true,
8
clean: true,
9
- rollup: {
10
- emitCJS: true,
11
- },
12
})
package.json
@@ -20,20 +20,16 @@
20
21
"sideEffects": false,
22
"exports": {
23
- ".": {
24
- "types": "./dist/index.d.ts",
25
- "import": "./dist/index.mjs",
26
- "require": "./dist/index.cjs"
27
- }
+ ".": "./dist/index.mjs"
28
},
29
"main": "./dist/index.mjs",
30
"module": "./dist/index.mjs",
31
+ "types": "./dist/index.d.mts",
32
"typesVersions": {
33
"*": {
34
"*": [
35
"./dist/*",
36
- "./dist/index.d.ts"
+ "./dist/index.d.mts"
37
]
38
}
39
0 commit comments