Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(css-modules): Do not transform the container name in CSS Modules #835

Merged
merged 6 commits into from
Nov 3, 2024

Conversation

kdy1
Copy link
Contributor

@kdy1 kdy1 commented Oct 15, 2024

Related: vercel/next.js#71233

Webpack css-loader does not transpile @container

@devongovett
Copy link
Member

Hashing container names is intentional. I think webpack just never updated to support newer css features. Do the options added in #739 help here, or do we need to add a new one?

@kdy1
Copy link
Contributor Author

kdy1 commented Oct 16, 2024

I added an option instead 👍

@devongovett
Copy link
Member

I think this should already be covered by the custom_idents option, but I guess we can have a more granular option like animation too.

@devongovett devongovett merged commit c24fe64 into parcel-bundler:master Nov 3, 2024
3 checks passed
kdy1 added a commit to vercel/next.js that referenced this pull request Nov 15, 2024
…2607)

### What?

Disable CSS Modules renaming for containers.

### Why?

We should match the behavior of webpack mode.

See: parcel-bundler/lightningcss#835

### How?

 - Closes PACK-3315
 - Closes #71233
wyattjoh pushed a commit to vercel/next.js that referenced this pull request Nov 28, 2024
…2607)

### What?

Disable CSS Modules renaming for containers.

### Why?

We should match the behavior of webpack mode.

See: parcel-bundler/lightningcss#835

### How?

 - Closes PACK-3315
 - Closes #71233
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants