We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have a use case for tracking old and new string indexes of the before + after CSS.
This could also be done via a callback, like this, but sourcemaps are more elegant, I guess?
let positions = new Map<[number, number], [number,number]> let new_css = fomat(old_css, { on_node: function (node: csstree.CssNode, start_pos: number, end_pos: number }) { positions.set([node.loc.start.offset, node.loc.end.offset], [start_pos, end_pos]) }) })
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I have a use case for tracking old and new string indexes of the before + after CSS.
This could also be done via a callback, like this, but sourcemaps are more elegant, I guess?
The text was updated successfully, but these errors were encountered: