You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Perhaps this is the expected behaviour, but my understanding was that the compiled output (after running svelte-cli compile ... should be ES5 only? Looking at #82 I'm guessing this shouldn't happen?
If so, the following simplified code gets compiled incorrectly.
The compiler won't convert your JavaScript, it will only ensure that any additional generated JavaScript is ES5 only. At some point we might add pluggable transpilation, but in the meantime you would need to use a transpiler like Babel or Bublé after the Svelte compilation step, if you're targeting browsers without those features.
Perhaps this is the expected behaviour, but my understanding was that the compiled output (after running
svelte-cli compile ...
should be ES5 only? Looking at #82 I'm guessing this shouldn't happen?If so, the following simplified code gets compiled incorrectly.
ends up as:
Whereas I'd expect it to be something more like:
The text was updated successfully, but these errors were encountered: