Skip to content

Commit b706fc9

Browse files
🤖 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/1b5252aec880aa76850f97b16980a6ce00c782c4/src/transforms/docs:import-regenerator-runtime-the-esm-way.js Please contact the author of the transform if you believe there was an error.
1 parent 3fb6b39 commit b706fc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/manual/usage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ First, require the polyfill at the entry point of your application
77
```js
88
require( 'regenerator-runtime/runtime' ) ;
99
// or
10-
import 'regenerator-runtime/runtime' ;
10+
import 'regenerator-runtime/runtime.js' ;
1111
```
1212

1313
Then, import the library where needed

0 commit comments

Comments
 (0)