Skip to content

Commit

Permalink
🤖 docs: Reference regenerator-runtime instead of @babel/polyfill.
Browse files Browse the repository at this point in the history
Replace all references to @babel/polyfill by references to regenerator-runtime/runtime.

These changes were automatically generated by a transform whose code can be found at:
  - https://github.com/make-github-pseudonymous-again/rejuvenate/blob/1b5252aec880aa76850f97b16980a6ce00c782c4/src/transforms/docs:replace-scoped-babel-polyfill-with-regenerator-runtime.js
Please contact the author of the transform if you believe there was an error.
  • Loading branch information
a-flying-potato authored and make-github-pseudonymous-again committed Jul 27, 2021
1 parent 4553191 commit 38304ef
Showing 1 changed file with 3 additions and 3 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

0 comments on commit 38304ef

Please sign in to comment.