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/a5a57b70ac6fd6fb77fdab32e6b7be7519ce9564/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 Mar 17, 2021
1 parent 7a069d5 commit 5de4ffc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/manual/usage.md
Expand Up @@ -4,7 +4,7 @@ First, require the polyfill at the entry point of your application
```js
require( 'regenerator-runtime/runtime' ) ;
// or
import 'regenerator-runtime/runtime' ;
import 'regenerator-runtime/runtime.js' ;
```

Then, import the library where needed
Expand Down

0 comments on commit 5de4ffc

Please sign in to comment.