Skip to content

Babel/Buble transformation doesn't appear to work. #717

@antony

Description

@antony

I've got a feeling that somewhere in the stack of svelte/rollup/babel, something has broken quite severely. I'm not sure exactly where, but I'm seeing it here (with all three combined), so I'm raising it here.

I'm noticing that in my production components, the ES6 code inside the svelte components is not being converted to ES5 by babel.

The problem can be reproduced by looking at the svelte examples, which also has an issue raised about this: charpeni/svelte-example#8

Has something changed recently where babel can no longer transform the javascript code in a svelte component?

This issue is quite severe since it means maybe half, maybe more, of our users get a broken experience now as their browser is trying to run ES6.

I note there is also a note about using babel/buble in the code but this doesn't really explain how to do it, just that you should.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions