Skip to content

Commit a7948f0

Browse files
a-flying-potatomake-github-pseudonymous-again
authored andcommittedMar 25, 2021
🤖 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/aureooms/rejuvenate/blob/e086830dfe927964be93f46b8ecdacd2597eb487/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 a867a0a commit a7948f0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
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

0 commit comments

Comments
 (0)
Please sign in to comment.