Skip to content

Commit

Permalink
🤖 docs: Correctly import regenerator/runtime.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
a-flying-potato authored and make-github-pseudonymous-again committed Apr 14, 2021
1 parent 38d8f0e commit ee138e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/manual/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ee138e7

Please sign in to comment.