Skip to content

Commit

Permalink
add .js extension to file import (#382)
Browse files Browse the repository at this point in the history
  • Loading branch information
JLHwung authored Mar 12, 2020
1 parent 49f7318 commit 2d65f34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/regenerator-runtime/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ following styles will work:
require("regenerator-runtime/runtime");

// ECMAScript 2015
import "regenerator-runtime/runtime";
import "regenerator-runtime/runtime.js";
```

To get the absolute file system path of `runtime.js`, evaluate the
Expand Down

0 comments on commit 2d65f34

Please sign in to comment.