Closed tunnckoCore closed 7 years ago
@calebeby That is a separate implementation; I'm not sure that they have full feature parity. We should probably create a transformer for both.
@jescalan Are there any major differences between the two, enough that we should have two separate transformers?
@calebeby haha, thanks :D
I believe we should have only one and it should be @reshape's because is by the original author.
Are there any major differences between the two
It's possible.
Yeah there are major differences, the two are not compatible. Reshape's version has accurate error messages, infrastructure in place for source maps, can generate client-side js functions, and is actively maintained. The posthtml version doesn't have any of these features and currently is not as actively maintained at the moment. That being said, while I wrote them both, they are two separate implementations and would require different transformers if you wanted to support them both.
:+1: for only reshape's
https://github.com/posthtml/sugarml
it is parser/plugin for PostHTML but think it make sense to have it separated too