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.
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:maincorrectly. It must be ES6-module entry point.