File tree Expand file tree Collapse file tree 2 files changed +9
-8
lines changed Expand file tree Collapse file tree 2 files changed +9
-8
lines changed Original file line number Diff line number Diff line change 19
19
" dist" ,
20
20
" esm-shims.js"
21
21
],
22
- "main" : " ./dist/index.js " ,
23
- "module" : " ./dist/index.js " ,
24
- "types" : " ./dist/index.d.ts " ,
22
+ "main" : " ./dist/index.mjs " ,
23
+ "module" : " ./dist/index.mjs " ,
24
+ "types" : " ./dist/index.d.mts " ,
25
25
"exports" : {
26
- "." : " ./dist/index.js " ,
27
- "./config" : " ./dist/config.js " ,
28
- "./plugins" : " ./dist/plugins.js " ,
29
- "./run" : " ./dist/run.js " ,
26
+ "." : " ./dist/index.mjs " ,
27
+ "./config" : " ./dist/config.mjs " ,
28
+ "./plugins" : " ./dist/plugins.mjs " ,
29
+ "./run" : " ./dist/run.mjs " ,
30
30
"./package.json" : " ./package.json"
31
31
},
32
32
"typesVersions" : {
38
38
}
39
39
},
40
40
"bin" : {
41
- "tsdown" : " ./dist/run.js "
41
+ "tsdown" : " ./dist/run.mjs "
42
42
},
43
43
"publishConfig" : {
44
44
"access" : " public"
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ export default defineConfig({
12
12
} ,
13
13
publint : true ,
14
14
exports : true ,
15
+ fixedExtension : true ,
15
16
onSuccess ( ) {
16
17
console . info ( '🙏 Build succeeded!' )
17
18
} ,
You can’t perform that action at this time.
0 commit comments