From 38304ef9654f9256d29692485ead97cc9993c1bb Mon Sep 17 00:00:00 2001 From: a flying potato <80830782+a-flying-potato@users.noreply.github.com> Date: Tue, 27 Jul 2021 16:18:15 +0200 Subject: [PATCH] :robot: 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. --- doc/manual/usage.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/manual/usage.md b/doc/manual/usage.md index 606388c..35a2dc5 100644 --- a/doc/manual/usage.md +++ b/doc/manual/usage.md @@ -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