Skip to content

Didn't transpile correctly with Parcel because incorrect jsnext:main #1049

Description

@item4

What is the problem...

Can not use Parcel + sweetalert2 + IE 9. because transpile result contain arrow function.
the official demo with Parcel also contain arrow function. You can find arrow function from build dist easily.

It's not bug of Parcel. The full story is here.

parcel-bundler/parcel#1037

Please fix it correctly

Please fix jsnext:main correctly. It must be ES6-module entry point.

Metadata

Metadata

Assignees

Labels

needs: breaking changeSolving this issue/merging this PR would cause a breaking change

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions