Skip to content

Commit 9835560

Browse files
😒 chore(deps-dev): Replace @babel/polyfill by regenerator-runtime/runtime.
1 parent bc9495d commit 9835560

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

doc/manual/usage.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# Usage
22

33
The code needs a ES2015+ polyfill to work, for example
4-
[@babel/polyfill](https://babeljs.io/docs/usage/polyfill).
4+
[regenerator-runtime/runtime](https://babeljs.io/docs/usage/polyfill).
55
```js
6-
require( '@babel/polyfill' ) ;
6+
require( 'regenerator-runtime/runtime' ) ;
77
// or
8-
import '@babel/polyfill' ;
8+
import 'regenerator-runtime/runtime' ;
99
```
1010

1111
Then

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"author": "Aurélien Ooms <aurelien.ooms@gmail.com>",
66
"ava": {
77
"require": [
8-
"@babel/polyfill",
8+
"regenerator-runtime/runtime",
99
"@babel/register"
1010
],
1111
"files": [

0 commit comments

Comments
 (0)