aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_utils/hast.rs (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-10-11Add support for proper positional info in swc treeLibravatar Titus Wormer1-2/+8
* Fix some positional info in SWC error messages * Add positional info in `to_document` on duplicate layouts * Add support for `path` on `Program` (`to_swc`, `to_document`, `jsx_rewrite`), for the path of a file on disk * Add support for `development` to `jsx-rewrite`, which when defined will embed info on where tags were written into the runtime code when they are not passed * Refactor to move some utilities to `micromark_swc_utils.rs`, `swc_utils.rs`
2022-09-30Add support for turning hast into swcLibravatar Titus Wormer1-16/+9
2022-09-28Add support for turning mdast to hastLibravatar Titus Wormer1-0/+279