Skip to content

Commit fcced66

Browse files
🤖 docs: Reference regenerator-runtime instead of @babel/polyfill.
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.
1 parent 9523474 commit fcced66

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/manual/usage.md

Lines changed: 3 additions & 3 deletions
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

0 commit comments

Comments
 (0)