GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — docs(experiments): document CSS scope hoisting and @value in URLs (5.107) by bjohansebas · Pull Request #8244 · webpack/webpack.js.org

Conversation

@bjohansebas

@bjohansebas bjohansebas commented May 17, 2026

Copy link
Copy Markdown
Member

Summary

Webpack 5.107 brings two additions to the experiments.css feature set:

  • Scope hoisting (module concatenation) now applies to CSS Modules with exportType of 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 ("./x", './x') and bare (./x) forms are accepted and resolved through webpack's normal asset pipeline.

Adds two bullets to the existing experimental features list in experiments.css.

Refs:

  • fix: support CSS text/css-style-sheet exportType module concatenation webpack#20851 (scope hoisting)
  • support CSS Modules @value identifiers as @import URLs and inside url() webpack#20925 (@value in URLs)

Test plan

  • Visual check of the new bullets and code example
  • Verify the badges show "5.107.0+"

Use of AI

Drafted with Claude under human review. The contributor verified each change against the upstream webpack PR before commit.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@bjohansebas
docs(experiments): document CSS scope hoisting and @value in URLs (5.…
1991829
…107)

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)
@vercel

vercel Bot commented May 17, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
webpack-js-org Ready Ready Preview, Comment May 17, 2026 2:21am

Request Review

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@vercel
vercel Bot deployed to Preview May 17, 2026 02:21
View deployment
alexander-akait
alexander-akait approved these changes May 18, 2026
View reviewed changes
@alexander-akait
alexander-akait merged commit 64581a0 into main May 18, 2026
8 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@alexander-akait
alexander-akait deleted the docs/experiments-css-5-107 branch May 18, 2026 15:21

This branch was successfully deployed

1 active deployment
Preview — 1991829f Deployed May 17, 2026 by vercel[bot]
View deployment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@alexander-akait alexander-akait alexander-akait approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@bjohansebas @alexander-akait
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.