lightningcss icon indicating copy to clipboard operation
lightningcss copied to clipboard

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

Open kdy1 opened this issue 1 year ago • 2 comments

Related: https://github.com/vercel/next.js/issues/71233

Webpack css-loader does not transpile @container

kdy1 avatar Oct 15 '24 09:10 kdy1

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?

devongovett avatar Oct 15 '24 19:10 devongovett

I added an option instead 👍

kdy1 avatar Oct 16 '24 08:10 kdy1

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 avatar Nov 03 '24 19:11 devongovett