Skip to content

v1.6.8 #164

Closed
Closed

Description

@tbela99

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);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions