@astrojs/compiler-rs@0.4.0
·
11 commits
to main
since this release
Minor Changes
- bc10d43: Adds a
commentsarray to the AST returned byparse(), covering comments in the frontmatter, in<script>blocks, and in the template. - bc10d43:
parse()now reports node and comment positions as UTF-16 offsets, so they line up with JavaScript string indices. Previously they were UTF-8 byte offsets, which drifted on any source containing non-ASCII characters.