Skip to content

docs(zh): update polyfill import according to core-js 3 docs #4940

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

Merged
merged 3 commits into from
Jan 28, 2020
Merged

docs(zh): update polyfill import according to core-js 3 docs #4940

merged 3 commits into from
Jan 28, 2020

Conversation

llccing
Copy link
Contributor

@llccing llccing commented Dec 10, 2019

when use core.js@^3.4.3, you should use import "core-js/stable";import "regenerator-runtime/runtime";
this is an doc about core.js@3

What kind of change does this PR introduce? (check at least one)

  • Bugfix
  • Feature
  • Code style update
  • Refactor
  • Docs
  • Underlying tools
  • Other, please describe:

Does this PR introduce a breaking change? (check one)

  • Yes
  • No

Other information:

when use core.js@^3.4.3, you should use ```import "core-js/stable";import "regenerator-runtime/runtime";```
[this is an doc about core.js@3](https://github.com/zloirock/core-js/blob/master/docs/2019-03-19-core-js-3-babel-and-a-look-into-the-future.md#babelpolyfill)
@haoqunjiang haoqunjiang merged commit 771182e into vuejs:master Jan 28, 2020
@haoqunjiang haoqunjiang changed the title vue-cli@4 use core.js@^3.4.3 docs(zh): update polyfill import according to core-js 3 docs Jan 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants