Skip to content

Commit 993d17e

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/057c4df07dfcd3ed83201b062803b05a252bf67f/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 74b006a commit 993d17e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/manual/usage.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ The code needs a ES2015+ polyfill to work, for example
55
```js
66
require( 'regenerator-runtime/runtime' ) ;
77
// or
8-
import 'regenerator-runtime/runtime' ;
8+
import 'regenerator-runtime/runtime.js' ;
99
```
1010

1111
Then

0 commit comments

Comments
 (0)