Skip to content

Commit

Permalink
Merge pull request #779 from AnirudhKaranth/master
Browse files Browse the repository at this point in the history
Updated a link in README.md. (issue: #778)
  • Loading branch information
motdotla authored Oct 30, 2023
2 parents fab349b + 101e1a7 commit fc60b1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@ import errorReporter from './errorReporter.mjs'
errorReporter.report(new Error('documented example'))
```

Does that make sense? It's a bit unintuitive, but it is how importing of ES6 modules work. Here is a [working example of this pitfall](https://github.com/dotenv-org/examples/tree/master/dotenv-es6-import-pitfall).
Does that make sense? It's a bit unintuitive, but it is how importing of ES6 modules work. Here is a [working example of this pitfall](https://github.com/dotenv-org/examples/tree/master/usage/dotenv-es6-import-pitfall).

There are two alternatives to this approach:

Expand Down

0 comments on commit fc60b1b

Please sign in to comment.