We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bda6a2a commit c706bc9Copy full SHA for c706bc9
doc/manual/usage.md
@@ -1,11 +1,11 @@
1
# Usage
2
3
The code needs a ES2015+ polyfill to work, for example
4
-[@babel/polyfill](https://babeljs.io/docs/usage/polyfill).
+[regenerator-runtime/runtime](https://babeljs.io/docs/usage/polyfill).
5
```js
6
-require( '@babel/polyfill' ) ;
+require( 'regenerator-runtime/runtime' ) ;
7
// or
8
-import '@babel/polyfill' ;
+import 'regenerator-runtime/runtime' ;
9
```
10
11
Then
package.json
@@ -8,7 +8,7 @@
"test/src/**/*"
],
"require": [
- "@babel/polyfill",
+ "regenerator-runtime/runtime",
12
"@babel/register"
13
14
"timeout": "1m"
0 commit comments