Skip to content

Commit d68c6f0

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/aureooms/rejuvenate/blob/f4f2f038c1728370f45204d13b52e4691640a5b4/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 1f94647 commit d68c6f0

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
@@ -4,7 +4,7 @@ The code needs a ES2015+ polyfill to work, for example
44
```js
55
require( 'regenerator-runtime/runtime' ) ;
66
// or
7-
import 'regenerator-runtime/runtime' ;
7+
import 'regenerator-runtime/runtime.js' ;
88
```
99

1010
Then

0 commit comments

Comments
 (0)