From ee138e778aaa6a81664797a8451776534d0a9b81 Mon Sep 17 00:00:00 2001 From: a flying potato <80830782+a-flying-potato@users.noreply.github.com> Date: Wed, 14 Apr 2021 18:38:29 +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/aureooms/rejuvenate/blob/eb1b209cd7aa675a642d48b2a788c2c6112779f7/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 65cad27..b5b6ed9 100644 --- a/doc/manual/usage.md +++ b/doc/manual/usage.md @@ -5,7 +5,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