Skip to content

2.1.1

Latest
Compare
Choose a tag to compare
@bfanger bfanger released this 21 Jun 13:51

Fixed a duplicate comma bug when using a trailing comma:

<script lang="ts">
  const react = sveltify({ div: "div", });
</script>

<react.div>
  <react.span>Text</react.span>
</react.div>

The preprocessor would detect the missing 'span' and add it to the sveltify object but generate:

sveltify({ div: "div", , span: "span"});

Resulting in a Property assignment expected error