Skip to content

Commit

Permalink
Updated a link in README.md
Browse files Browse the repository at this point in the history
One of the links led to a non-existent page, I've updated it
  • Loading branch information
AnirudhKaranth committed Oct 23, 2023
1 parent cf4c569 commit 101e1a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
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 101e1a7

Please sign in to comment.