Skip to content

Commit 1c9f3aa

Browse files
committed
ENG-219: Use .js extension for tsdown ESM output
Set fixedExtension: false so tsdown outputs .js instead of .mjs, since the project already has "type": "module" in package.json. This keeps the bin path at ./dist/cli.js matching what tsup produced.
1 parent 03b4edc commit 1c9f3aa

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tsdown.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ export default defineConfig({
55
format: ['esm'],
66
target: 'node24',
77
outDir: 'dist',
8+
fixedExtension: false,
89
sourcemap: true,
910
dts: false,
1011
outputOptions: {

0 commit comments

Comments
 (0)