-
-
Notifications
You must be signed in to change notification settings - Fork 85
Closed
Labels
Description
Reproduction link
Bug description
When the PostCSS Custom Properties plugin is run on a CSS string with a large number of custom properties, the process completely hangs with no output.
Screenshot showing it unresponsive.

When run with two less lines of CSS custom properties, it compiles correctly:

Related: aws-amplify/amplify-ui#5143
Actual Behavior
Node process hangs
Expected Behavior
CSS should be output, as happens when a few custom property uses are removed from the CSS string.
Can you reproduce it with npx @csstools/csstools-cli <plugin-name> minimal-example.css?
Yes
npx Output
None, the process completely hangs.
Extra config
None, using postcss-custom-properties by itself.
What plugin are you experiencing this issue on?
PostCSS Custom Properties
Plugin version
13.3.6
What OS are you experiencing this on?
Windows
Node Version
18.18.0
Validations
- Follow our Code of Conduct
- Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
Would you like to open a PR for this bug?
- I'm willing to open a PR