scottcharlesworth / laravel-mix-polyfill

A Laravel Mix extension to include polyfills by using Babel, core-js, and regenerator-runtime
MIT License
50 stars 7 forks source link

not working...? #31

Closed dvlpr91 closed 3 years ago

dvlpr91 commented 4 years ago

I added it after installation, but ie11 still has problems.

scottcharlesworth commented 4 years ago

@dvlpr91 what specifically is it you're having problems with in IE11?

dvlpr91 commented 4 years ago

@dvlpr91 what specifically is it you're having problems with in IE11?

I'm trying to use "laravel", "inertiajs" and "svelte".

The error that occurs in "ie11" is very complex, so it is not easy to explain. However, by adding and setting "laravel-mix-polyfill", normal output is not performed in "ie11". ("polyfill" and "transpile" problems?, I don't know. If "laravel-mix-polyfill" is used, "ie11" and "chrome" always print the same?)

Also, it was confirmed that the simple es6 grammar(arrow function...) can be converted by laravel-mix without laravel-mix-polyfill, and works in ie11. So, when do I need laravel-mix-polyfill?