Open seangwright opened 5 years ago
Hi @seangwright, sorry for the late reply. I think you made a great research, honestly I'm not sure how can we help you to go around this issue. Anyway I'll take a second glance to this later, in the mean time if you come up with a solution please do not hesitate to open a pull request to this. Thanks!
Hello,
I've upgrade my project to use v4 of the Vue CLI, which requires a newer version of core-js.
I'm using the following versions:
When I load the app in the browser, I see the following error.
I imagine it's because the version of core-js this project depends on is 2.x, and there are breaking changes between it and 3.x.
See Vue CLI 4 migration : https://cli.vuejs.org/migrating-from-v3/#core-js
The issue I'm seeing appears here was well https://github.com/vuejs/vue-cli/issues/1568#issuecomment-401600992
Since I have to support IE11, I'm finding I have to leave this library out of
transpileDependencies
in thevue.config.js
and instead import directly from@kenkou/vue-stripe-elements/dist/lib.common.js
for all components.It must be either Webpack or Vue CLI that is assuming my project wants to pull from your
package.json/module
property instead ofpackage.json/main
.Thoughts?