# webpack v5.108.0 - Product: webpack (https://whatsnew.fyi/product/webpack) - Vendor: OpenJS Foundation - Date: 2026-06-25 - Version: v5.108.0 - Original notes: https://github.com/webpack/webpack/releases/tag/v5.108.0 - Permalink: https://whatsnew.fyi/product/webpack/releases/v5.108.0 What's New is an index, not a publisher: every entry below links to the vendor's own release notes, which are the authoritative source. Entries are labelled where they are hand-curated sample data, pre-releases, or drawn from a secondary source such as a developer blog. Reuse: release facts (products, versions, dates, links, CVE ids and flags) are open data under CC BY 4.0, from the API at https://whatsnew.fyi/api/v1 or the nightly dataset at https://github.com/whatsnew-fyi/dataset. The summaries, labels and curation are © What's New: quote freely with attribution and a link back; wholesale republication of them is not permitted — terms: https://whatsnew.fyi/terms. The vendors' own release notes remain their publishers'. --- Changes to check: - **Behavior changed:** `[hash]` → `[modulehash]` (inferred by a model) - **added** — Treat top-level await and import.meta as ES module markers, matching Node.js syntax detection so no explicit module type is needed - **added** — Add a bun target that emits ESM and externalizes bun:* and node.js built-in modules - **added** — Support CommonJS reexports via Object.defineProperty value and getter descriptors - **added** — Support JSON Schema const when generating CLI flags from a schema - **added** — Support JSON Schema if/then/else when generating CLI flags from a schema - **added** — Skip import specifiers, require() and import() calls in dead conditional branches gated by inlined imported constants - **changed** — CSS localIdentName [hash] now resolves to the local ident hash; use [modulehash] for the module hash - **added** — Add CSS parser as option and resolve url() inside HTML style attributes - **added** — Add dedicated module classes for all built-in module types - **added** — Support .html/.css for the default ./src entry under the html/css experiments - **added** — Add defineConfig helper for typed configuration files - **added** — Add a deno target that emits ESM, resolves node.js built-ins via the required node: specifier, and keeps Deno's own import protocols external - **changed** — Use module-import for electron externals when the target supports ESM - **added** — Add output.environment.logicalAssignment to emit ||= in runtime code when the target supports logical assignment operators - **added** — Resolve and rewrite asset URLs inside