source: imaps-frontend/node_modules/babel-plugin-polyfill-regenerator/README.md

main
Last change on this file was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 4 days ago

F4 Finalna Verzija

  • Property mode set to 100644
File size: 507 bytes
RevLine 
[79a0317]1# babel-plugin-polyfill-regenerator
2
3## Install
4
5Using npm:
6
7```sh
8npm install --save-dev babel-plugin-polyfill-regenerator
9```
10
11or using yarn:
12
13```sh
14yarn add babel-plugin-polyfill-regenerator --dev
15```
16
17## Usage
18
19Add this plugin to your Babel configuration:
20
21```json
22{
23 "plugins": [["polyfill-regenerator", { "method": "usage-global" }]]
24}
25```
26
27This package supports the `usage-pure`, `usage-global`, and `entry-global` methods.
28When `entry-global` is used, it replaces imports to `regenerator-runtime`.
Note: See TracBrowser for help on using the repository browser.