# webpack/release
webpack v5.108.0
importance: highfeature
This release introduces several enhancements to Webpack's module handling, including improved support for ES modules, new targets for Bun and Deno, and better tree-shaking capabilities. It also adds new features for HTML and CSS modules, along with optimizations for runtime code generation.
affected
Developers using Webpack for ES modules, Bun, Deno, or HTML/CSS modules will benefit from these updates.
action
Update to version 5.108.0 to take advantage of new features and improvements.
release_signals
+Treat top-level await and `import.meta` as ES module markers.
+Add a `bun` target that emits ESM and externalizes `bun:*` and node.js built-in modules.
+Support CommonJS reexports via `Object.defineProperty` value and getter descriptors.
+Add `defineConfig` helper for typed configuration files.
+Add `output.environment.logicalAssignment` to emit `||=` in runtime code.
code_snippet
output.environment.logicalAssignment# community_signal
How useful is this release to your stack?
—
net score
Sign in with GitHub to cast your vote.
Sign in with GitHub to vote
You’ll return to this release, then choose your vote.