Skip to content

v1.6.8 - #165

Merged
tbela99 merged 7 commits into
masterfrom
v.next
Oct 20, 2026
Merged

v1.6.8#165
tbela99 merged 7 commits into
masterfrom
v.next

Conversation

@tbela99

@tbela99 tbela99 commented Oct 19, 2026

Copy link
Copy Markdown
Owner

v1.6.8

  • allow a visitor to visit all nodes
import {transformSync} from '@tbela99/css-parser';

 const options = {
            input: `
    
    button {
            	line-height: 2.5 !important;
            	line-height: 1.5;
            }
    `,
            beautify: true,
// visit all nodes
  visitor (node) {
      
    console.error(EnumToken[node.typ]);
  }
        };

  const result = transformSync(options);
  console.debug(result.code);

@tbela99 tbela99 added this to the v1.6.8 milestone Oct 19, 2026
@tbela99
tbela99 merged commit 5920da6 into master Oct 20, 2026
7 checks passed
@tbela99 tbela99 linked an issue Oct 20, 2026 that may be closed by this pull request
2 tasks done
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.

v1.6.8

1 participant