Skip to content

Conversation

@Liang5757
Copy link
Contributor

Summary

Add stringifyImportant options of objectifier #80

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

objectifier.js Outdated
}

function process(node) {
function process(node, stringifyImportant) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks.

Small thing: we need { stringifyImportant: true } API. It will be easier to read in user’s code and more flexible for the future.

(I will fix other tests, don’t worry)

@ai ai merged commit dc501f2 into postcss:main Sep 16, 2025
@ai
Copy link
Member

ai commented Sep 16, 2025

Thanks. Released in 4.1.0.

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