From a94d6f85fd90032edb553e434c3c25fb1af18da4 Mon Sep 17 00:00:00 2001 From: a flying potato <80830782+a-flying-potato@users.noreply.github.com> Date: Fri, 19 Mar 2021 10:16:08 +0100 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/ab26fc3b8d8900f903d6c5d5618882f508089c94/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 bc439db..d11f2dd 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