Skip to content

Commit c706bc9

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

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,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

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"test/src/**/*"
99
],
1010
"require": [
11-
"@babel/polyfill",
11+
"regenerator-runtime/runtime",
1212
"@babel/register"
1313
],
1414
"timeout": "1m"

0 commit comments

Comments
 (0)