RonaldJerez / vue-input-facade

A lightweight and dependency free input masking library created specific for Vue
https://ronaldjerez.github.io/vue-input-facade/latest/
182 stars 27 forks source link

Script 1002 Issue in IE #7

Closed brianrivet closed 4 years ago

brianrivet commented 4 years ago

Hi,

I'm trying to use this plugin to mask some fields on a site that needs IE11 support and I'm getting a script 1002 error that says there is a syntax error. When I check out the syntax error it jumps to a line with an arrow function. It says this:

transform:e=>e.toLocalUpperCase

How would I go about resolving this?

RonaldJerez commented 4 years ago

Hi @brianrivet, In order to keep the script build size down I specifically exclude IE and only support modern browsers, otherwise the build file will be larger with polyfills. If you require IE support you can fork the project, modify the .browserslistrc file by removing the not IE > 0 line and rebuild.

https://github.com/RonaldJerez/vue-input-facade/blob/master/.browserslistrc

If there is enough demand for IE I could look into releasing an IE specific version via NPM tags.

eduarguz commented 3 years ago

Unfortunately I would love IE11 support