Skip to content

Commit

Permalink
😒 chore(deps-dev): Replace @babel/polyfill by regenerator-runtime/run…
Browse files Browse the repository at this point in the history
…time.
  • Loading branch information
make-github-pseudonymous-again committed Sep 20, 2020
1 parent 29ac5a8 commit 985be30
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions doc/manual/usage.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Usage
The code needs a ES2015+ polyfill to work, for example
[@babel/polyfill](https://babeljs.io/docs/usage/polyfill).
[regenerator-runtime/runtime](https://babeljs.io/docs/usage/polyfill).
```js
require( '@babel/polyfill' ) ;
require( 'regenerator-runtime/runtime' ) ;
// or
import '@babel/polyfill' ;
import 'regenerator-runtime/runtime' ;
```

Then
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"author": "Aurélien Ooms <[email protected]>",
"ava": {
"require": [
"@babel/polyfill",
"regenerator-runtime/runtime",
"@babel/register"
]
},
Expand Down

0 comments on commit 985be30

Please sign in to comment.