What version of Bun is running?
1.3.5+1e86cebd7
What platform is your computer?
Microsoft Windows NT 10.0.26200.0 x64
What steps can reproduce the bug?
Create a TypeScript file with some simple imports and exports and build it with a specific build command:
bun build ./index.ts --outfile ./index.js --target node --format cjs --no-bundle
What is the expected behavior?
I'm looking to be able to output a file that is still readable and uses external imports, meanwhile being compatible with CommonJS.
What do you see instead?
An ESM JS file using import and export features.
Additional information
No response
What version of Bun is running?
1.3.5+1e86cebd7
What platform is your computer?
Microsoft Windows NT 10.0.26200.0 x64
What steps can reproduce the bug?
Create a TypeScript file with some simple imports and exports and build it with a specific build command:
bun build ./index.ts --outfile ./index.js --target node --format cjs --no-bundleWhat is the expected behavior?
I'm looking to be able to output a file that is still readable and uses external imports, meanwhile being compatible with CommonJS.
What do you see instead?
An ESM JS file using import and export features.
Additional information
No response