File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 19
19
"exports" : {
20
20
"." : {
21
21
"types" : " ./index.d.ts" ,
22
- "import" : " ./index-esm .js" ,
23
- "require" : " ./index-cjs.js "
22
+ "import" : " ./index.js" ,
23
+ "require" : " ./index.cjs "
24
24
},
25
25
"./package.json" : " ./package.json"
26
26
},
27
- "main" : " ./index-cjs.js " ,
28
- "module" : " ./index-esm .js" ,
27
+ "main" : " ./index.cjs " ,
28
+ "module" : " ./index.js" ,
29
29
"types" : " ./index.d.ts" ,
30
30
"scripts" : {
31
31
"postbuild" : " node --no-warnings tools/postbuild.mjs" ,
75
75
"engines" : {
76
76
"node" : " >=18"
77
77
}
78
- }
78
+ }
Original file line number Diff line number Diff line change @@ -10,13 +10,13 @@ export default {
10
10
{
11
11
format : 'esm' ,
12
12
dir : 'dist' ,
13
- entryFileNames : 'index-esm .js' ,
13
+ entryFileNames : 'index.js' ,
14
14
plugins : [ terser ( ) ] ,
15
15
} ,
16
16
{
17
17
format : 'cjs' ,
18
18
dir : 'dist' ,
19
- entryFileNames : 'index-cjs.js ' ,
19
+ entryFileNames : 'index.cjs ' ,
20
20
plugins : [ terser ( ) ] ,
21
21
} ,
22
22
] ,
You can’t perform that action at this time.
0 commit comments