We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6bb9ddc commit 887bf2dCopy full SHA for 887bf2d
doc/manual/usage.md
@@ -1,13 +1,13 @@
1
# Usage
2
3
> :warning: The code needs a ES2015+ polyfill to run (`regeneratorRuntime`),
4
-> for instance [@babel/polyfill](https://babeljs.io/docs/usage/polyfill).
+> for instance [regenerator-runtime/runtime](https://babeljs.io/docs/usage/polyfill).
5
6
First, require the polyfill at the entry point of your application
7
```js
8
-require( '@babel/polyfill' ) ;
+require( 'regenerator-runtime/runtime' ) ;
9
// or
10
-import '@babel/polyfill' ;
+import 'regenerator-runtime/runtime' ;
11
```
12
13
Then, import the library where needed
0 commit comments