Skip to content

Commit e5b4fea

Browse files
committed
FIXUP
1 parent ad96d2b commit e5b4fea

File tree

5 files changed

+17
-14
lines changed

5 files changed

+17
-14
lines changed

examples/helloworld-tegg/tsdown.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,5 @@ export default defineConfig({
77
exports: {
88
devExports: true,
99
},
10+
fixedExtension: false,
1011
});

examples/helloworld-typescript/tsdown.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,5 @@ export default defineConfig({
77
exports: {
88
devExports: true,
99
},
10+
fixedExtension: false,
1011
});

tools/egg-bin/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"publishConfig": {
55
"access": "public",
66
"exports": {
7-
".": "./dist/index.mjs",
7+
".": "./dist/index.js",
88
"./package.json": "./package.json"
99
}
1010
},
@@ -93,9 +93,9 @@
9393
"-h"
9494
]
9595
},
96-
"main": "./dist/index.mjs",
97-
"module": "./dist/index.mjs",
98-
"types": "./dist/index.d.mts",
96+
"main": "./dist/index.js",
97+
"module": "./dist/index.js",
98+
"types": "./dist/index.d.ts",
9999
"exports": {
100100
".": "./src/index.ts",
101101
"./package.json": "./package.json"

tools/scripts/package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@
1515
"publishConfig": {
1616
"access": "public",
1717
"exports": {
18-
".": "./dist/index.mjs",
19-
"./baseCommand": "./dist/baseCommand.mjs",
20-
"./commands/start": "./dist/commands/start.mjs",
21-
"./commands/stop": "./dist/commands/stop.mjs",
22-
"./helper": "./dist/helper.mjs",
23-
"./types": "./dist/types.mjs",
18+
".": "./dist/index.js",
19+
"./baseCommand": "./dist/baseCommand.js",
20+
"./commands/start": "./dist/commands/start.js",
21+
"./commands/stop": "./dist/commands/stop.js",
22+
"./helper": "./dist/helper.js",
23+
"./types": "./dist/types.js",
2424
"./package.json": "./package.json"
2525
}
2626
},
@@ -87,7 +87,7 @@
8787
"urllib": "catalog:",
8888
"vitest": "catalog:"
8989
},
90-
"main": "./dist/index.mjs",
91-
"module": "./dist/index.mjs",
92-
"types": "./dist/index.d.mts"
90+
"main": "./dist/index.js",
91+
"module": "./dist/index.js",
92+
"types": "./dist/index.d.ts"
9393
}

tsdown.config.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,6 @@
66
"dts": true,
77
"exports": {
88
"devExports": true
9-
}
9+
},
10+
"fixedExtension": false
1011
}

0 commit comments

Comments
 (0)