Sign in

Lukas Taegert-Atkinson

@lukas.taegert-atkinson.net
1.7K followers 133 following 18 posts

Father of two, maintainer of RollupJS

PostsRepliesMedia
Lukas Taegert-Atkinson @lukas.taegert-atkinson.net · 13/11/2024
If you are using Rollup's JavaScript API via TypeScript, you can now use explicit resource management to call "await bundle.close()" for you.
A code sample containing
"await using bundle = await rollup(inputOptions)"
that shows that you do not need to call "await bundle.close()" if you generated it like this.
1151