Skip to content

Commit f961c94

Browse files
authored
fixup!
1 parent bcda294 commit f961c94

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/content/blog/2026-04-13-webpack-5-106.mdx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,8 @@ module.exports = {
9595
};
9696
```
9797

98+
T> CSS support is more than ready, and it is expected to be fully finalized in the next minor release, as planned in the roadmap. As part of this transition, `css-loader`, `style-loader`, and `mini-css-extract-plugin` will be deprecated.
99+
98100
## Better Tree Shaking for CommonJS Destructuring
99101

100102
Webpack can now statically analyze **destructuring assignments directly from CommonJS `require`** (and `module.require`) and treat only the destructured properties as "referenced exports", instead of conservatively assuming the whole `exports` object is used. This improves dead-code elimination in optimized builds and can reduce bundle size in codebases that still consume CommonJS modules.
@@ -161,7 +163,7 @@ module.exports = {
161163

162164
Then use either static or dynamic source-phase syntax:
163165

164-
```js
166+
```text
165167
// Static form
166168
import source wasmModule from "./module.wasm";
167169

0 commit comments

Comments
 (0)