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

Object.assign is not being polyfilled #11382

Closed
Dev-Oli opened this issue May 7, 2020 · 4 comments
Closed

Object.assign is not being polyfilled #11382

Dev-Oli opened this issue May 7, 2020 · 4 comments

Comments

@Dev-Oli
Copy link

Dev-Oli commented May 7, 2020

Version

2.6.11

Reproduction link

https://github.com/Dev-Oli/vuetify-ie11-bug

Steps to reproduce

See README.md Vuetify ticket

What is expected?

The vuetify sample page is shown in IE11 too.

What is actually happening?

A blank page is shown.


See discussion over at vuetifyjs/vuetify#11008

@posva
Copy link
Member

posva commented May 7, 2020

We don't use Object.assign in Vue codebase precisely to support IE. This is likely to be a configuration issue of some sort.

Maybe you wanted to create an issue on the vuejs/vue-cli repository. If you do, please provide a boiled down reproduction with no extra dependencies (no vuetify)

@posva posva closed this as completed May 7, 2020
@Dev-Oli
Copy link
Author

Dev-Oli commented May 7, 2020

@posva Please take a look at the linked vuetify issue. There I've been told to create a ticket here because the object.assign polyfill seems to be there some time ago but now it stops working.

@sirlancelot
Copy link

vuejs/vue-cli#5233

Adjust your .browserslistrc to include ie11. Vue-CLI updated the default by adding not dead which now excludes IE, a "dead" browser.

@Dev-Oli
Copy link
Author

Dev-Oli commented May 8, 2020

@sirlancelot Thanks for the advice. But even after removing the "not dead" part from the browserslist at package.json I'm still getting the same error at the simple vue project.
Just calling
console.log(Object.assign({}));
at main.js (without added vuetify).

npx browserslist
is listing IE11 and even IE10.

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

3 participants