Webpack Publishes 2026 Roadmap with Native CSS Support, Universal Target, and Path to Version 6
Briefly

Webpack Publishes 2026 Roadmap with Native CSS Support, Universal Target, and Path to Version 6
"One of the most significant changes is the move to integrate CSS module support directly into webpack's core. Currently available behind the experimental.css option, this feature eliminates the need for mini-css-extract-plugin. The team expects to complete integration into core around early 2026, with the feature remaining experimental until webpack 6, at which point plugin-based CSS handling will no longer be necessary."
"Another headline item is the proposed universal target, designed to compile code that runs across Node.js, Bun, Deno, and browser environments. Regardless of whether an application uses CommonJS modules, webpack will wrap them so that the resulting output is pure ESM, making it runtime-agnostic."
"The roadmap also announces plans for built-in TypeScript support, removing the need for ts-loader, and native HTML entry points, removing the dependency on html-webpack-plugin. Both of these follow the same pattern of absorbing common plugin functionality into core."
Webpack has released its 2026 roadmap under the OpenJS Foundation, focusing on reducing plugin dependencies and expanding runtime compatibility. Key initiatives include integrating native CSS module support directly into webpack's core, eliminating the need for mini-css-extract-plugin by early 2026. A universal compilation target will enable code to run across Node.js, Bun, Deno, and browser environments with pure ESM output. Built-in TypeScript transpilation will replace ts-loader, and native HTML entry point support will eliminate html-webpack-plugin dependency. The roadmap also explores performance optimizations inspired by competitor tools and evaluates lazy barrel optimization techniques to skip building unused re-exported modules.
Read at InfoQ
Unable to calculate read time
[
|
]