Commit 64581a0
authored
Webpack 5.107 brings two additions to the experiments.css feature set:
- Scope hoisting (module concatenation) now applies to CSS Modules with
exportType "text", "css-style-sheet", "style", or "link", reducing
runtime overhead in CSS-heavy bundles when
optimization.concatenateModules is enabled.
- @value identifiers can be used as the path argument to @import and
inside url() references, so shared paths/assets are defined once and
reused. Both quoted and bare forms are accepted and resolved through
webpack's normal asset pipeline.
Adds two bullets to the existing experimental features list in
experiments.css.
Refs:
- webpack/webpack#20851 (scope hoisting)
- webpack/webpack#20925 (@value in URLs)
1 parent 2f24ec5 commit 64581a0
1 file changed
Lines changed: 25 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
238 | 238 | | |
239 | 239 | | |
240 | 240 | | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
241 | 266 | | |
242 | 267 | | |
243 | 268 | | |
| |||
0 commit comments