web 3d图形渲染器
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
479 B

  1. # babel-plugin-polyfill-corejs3
  2. ## Install
  3. Using npm:
  4. ```sh
  5. npm install --save-dev babel-plugin-polyfill-corejs3
  6. ```
  7. or using yarn:
  8. ```sh
  9. yarn add babel-plugin-polyfill-corejs3 --dev
  10. ```
  11. ## Usage
  12. Add this plugin to your Babel configuration:
  13. ```json
  14. {
  15. "plugins": [["polyfill-corejs3", { "method": "usage-global" }]]
  16. }
  17. ```
  18. This package supports the `usage-pure`, `usage-global`, and `entry-global` methods.
  19. When `entry-global` is used, it replaces imports to `core-js`.