Deno 2.4, the newest model of Deno Land’s JavaScript and TypeScript runtime, has been launched with the restoration of the deno bundle subcommand for creating single-file JavaScript bundles.
Announced July 2, Deno 2.Four additionally stabilizes Deno’s built-in OpenTelemetry assist for gathering and exporting telemetry information, and provides simpler dependency administration, Deno Land stated. Current customers of Deno can improve to Deno 2.Four by working the deno improve command of their terminal. Installation directions for brand spanking new customers may be discovered right here.
Deno 2.Four restores the deno bundle subcommand for creating single-file JavaScript bundles from JavaScript or TypeScript. This command helps each server-side and browser platforms and works with NPM and JSR (JavaScript Registry) dependencies. Automatic tree-shaking and minification are supported through the esbuild bundler. Future plans name for including a runtime to make bundling obtainable programmatically. Additionally, plugins are to be added for customizing how the bundler processes modules through the construct course of.







