File tree 4 files changed +4
-14
lines changed
4 files changed +4
-14
lines changed Original file line number Diff line number Diff line change 2
2
{
3
3
"path" : " dist/index.js" ,
4
4
"limit" : " 12 kB"
5
- },
6
- {
7
- "path" : " dist/index.cjs" ,
8
- "limit" : " 12 kB"
9
5
}
10
6
]
Original file line number Diff line number Diff line change 26
26
"release" : " bumpp package.json --commit --push --tag" ,
27
27
"test" : " vitest --retry=5 --run"
28
28
},
29
- "main" : " ./dist/index.cjs " ,
29
+ "main" : " ./dist/index.js " ,
30
30
"module" : " ./dist/index.js" ,
31
31
"types" : " ./dist/index.d.ts" ,
32
32
"exports" : {
33
- "require" : {
34
- "types" : " ./dist/index.d.cts" ,
35
- "require" : " ./dist/index.cjs"
36
- },
37
- "import" : {
33
+ "." : {
38
34
"types" : " ./dist/index.d.ts" ,
39
- "import " : " ./dist/index.js"
35
+ "default " : " ./dist/index.js"
40
36
}
41
37
},
42
38
"files" : [
Original file line number Diff line number Diff line change 2
2
"compilerOptions" : {
3
3
"target" : " ES2018" ,
4
4
"strict" : true ,
5
- "esModuleInterop" : true ,
6
5
"moduleResolution" : " Bundler" ,
7
6
"noEmit" : true ,
8
7
"noUncheckedIndexedAccess" : true ,
9
- "baseUrl" : " ." ,
10
8
"skipLibCheck" : true ,
11
9
"lib" : []
12
10
},
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ export default defineConfig({
4
4
clean : true ,
5
5
dts : true ,
6
6
entry : [ 'src/index.ts' ] ,
7
- format : [ 'esm' , 'cjs' ] ,
7
+ format : [ 'esm' ] ,
8
8
minify : false ,
9
9
minifyIdentifiers : true ,
10
10
minifySyntax : true ,
You can’t perform that action at this time.
0 commit comments