From 8b5402b3cb26ddb52e2714869474c7219799b178 Mon Sep 17 00:00:00 2001 From: a flying potato <80830782+a-flying-potato@users.noreply.github.com> Date: Sat, 10 Sep 2022 20:08:13 +0200 Subject: [PATCH] :robot: docs: Correctly import regenerator/runtime. This is needed because the new ESM import syntax requires full paths. These changes were automatically generated by a transform whose code can be found at: - https://github.com/make-github-pseudonymous-again/rejuvenate/blob/d09fbf6436be892b61bbe02454e1d7d7229c50d8/src/transforms/docs:import-regenerator-runtime-the-esm-way.js Please contact the author of the transform if you believe there was an error. --- doc/manual/usage.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/manual/usage.md b/doc/manual/usage.md index 95dd0a3..fc2d429 100644 --- a/doc/manual/usage.md +++ b/doc/manual/usage.md @@ -4,7 +4,7 @@ The code needs a ES2015+ polyfill to work, for example ```js require( 'regenerator-runtime/runtime' ) ; // or -import 'regenerator-runtime/runtime' ; +import 'regenerator-runtime/runtime.js' ; ``` Then