New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rolldown doesn't support output.file
option
#624
Comments
Ah, I see, the Rust side rolldown/crates/rolldown_binding/src/bundler.rs Lines 19 to 41 in ec85051
If we pass output options to write, then we have to test the performance ((de)serialize). |
Nope. It does take the output options from js side, which is the options that passed from You should be able to use Notice that this only works out in single entry. You see the functionality of |
write
should have the same result as rollup.output.file
option
FWIW Vite does not support |
reproduction repo
https://github.com/kazupon/rolldown-output-repro1
background
I noticed on #610
reproduction step
npm install npm run build tree -L 2 . ├── README.md ├── app.js ├── dist │ ├── app.js │ └── app.js.map ├── node_modules │ ├── @rolldown │ ├── @rollup │ ├── @types │ ├── fsevents │ └── rollup ├── package-lock.json ├── package.json ├── rolldown.js ├── rollup.js └── rollup_build ├── rollup.js └── rollup.js.map 9 directories, 10 files
rolldown
write
output option:rolldown cannot output to
'rolldown_build/rolldown.js'
withfile
option.rollup can ouput with
file
option.rolldown
write
should have the same result as rollup.The text was updated successfully, but these errors were encountered: