Skip to content

Commit 985be30

Browse files
😒 chore(deps-dev): Replace @babel/polyfill by regenerator-runtime/runtime.
1 parent 29ac5a8 commit 985be30

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

doc/manual/usage.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# Usage
22
The code needs a ES2015+ polyfill to work, for example
3-
[@babel/polyfill](https://babeljs.io/docs/usage/polyfill).
3+
[regenerator-runtime/runtime](https://babeljs.io/docs/usage/polyfill).
44
```js
5-
require( '@babel/polyfill' ) ;
5+
require( 'regenerator-runtime/runtime' ) ;
66
// or
7-
import '@babel/polyfill' ;
7+
import 'regenerator-runtime/runtime' ;
88
```
99

1010
Then

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"author": "Aurélien Ooms <[email protected]>",
66
"ava": {
77
"require": [
8-
"@babel/polyfill",
8+
"regenerator-runtime/runtime",
99
"@babel/register"
1010
]
1111
},

0 commit comments

Comments
 (0)