embroider-build / content-tag

A rust program that uses a fork of SWC to parse and transform Javascript containing the content-tag proposal
MIT License
8 stars 7 forks source link

Add failing test for #37 #38

Closed NullVoxPopuli closed 9 months ago

NullVoxPopuli commented 10 months ago

https://github.com/embroider-build/content-tag/issues/37

i'm not confident that this is even valid

gitKrystan commented 10 months ago

This might be a better example:

const ListItem = <template><li>My Item</li></template> // no semi

<template>
  <ul>
    <ListItem />
    <ListItem />
    <ListItem />
  </ul>
</template>
NullVoxPopuli commented 9 months ago

This might be a better example:

Looks like this parses successfully