Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Webpack + IE 11 not working with library #22

Closed
roma-formio opened this issue Jul 10, 2019 · 3 comments
Closed

Webpack + IE 11 not working with library #22

roma-formio opened this issue Jul 10, 2019 · 3 comments

Comments

@roma-formio
Copy link

Hi Andreas, maybe you can help me. I'm using vanilla-picker library on my application, but have troubles when trying to import Picker. All browsers work fine, only IE 11 throw error like

SCRIPT1006: Expected ')'

When trying to use the library with tag <script> all works fine.
Would be great if you can have a look into that.

@Sphinxxxx
Copy link
Owner

Hello!

Without seeing the output code, this is only guessing, but it may be because IE doesn't support some particular ES6 feature. Possibly related SO question.

Do you have Webpack transpile your code, for example using Babel? Make sure it also transpiles dependencies (i.e the vanilla-picker module).

@Sphinxxxx
Copy link
Owner

Any luck?

@Sphinxxxx
Copy link
Owner

Please update to v2.9.2. The module is now transpiled before release (which I've learnt is the best practice).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants