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 1919 "exports" : {
2020 "." : {
2121 "types" : " ./index.d.ts" ,
22- "import" : " ./index-esm .js" ,
23- "require" : " ./index-cjs.js "
22+ "import" : " ./index.js" ,
23+ "require" : " ./index.cjs "
2424 },
2525 "./package.json" : " ./package.json"
2626 },
27- "main" : " ./index-cjs.js " ,
28- "module" : " ./index-esm .js" ,
27+ "main" : " ./index.cjs " ,
28+ "module" : " ./index.js" ,
2929 "types" : " ./index.d.ts" ,
3030 "scripts" : {
3131 "postbuild" : " node --no-warnings tools/postbuild.mjs" ,
7575 "engines" : {
7676 "node" : " >=18"
7777 }
78- }
78+ }
Original file line number Diff line number Diff line change @@ -10,13 +10,13 @@ export default {
1010 {
1111 format : 'esm' ,
1212 dir : 'dist' ,
13- entryFileNames : 'index-esm .js' ,
13+ entryFileNames : 'index.js' ,
1414 plugins : [ terser ( ) ] ,
1515 } ,
1616 {
1717 format : 'cjs' ,
1818 dir : 'dist' ,
19- entryFileNames : 'index-cjs.js ' ,
19+ entryFileNames : 'index.cjs ' ,
2020 plugins : [ terser ( ) ] ,
2121 } ,
2222 ] ,
You can’t perform that action at this time.
0 commit comments