Skip to content

Commit

Permalink
Merge branch 'master' of github.com:motdotla/dotenv
Browse files Browse the repository at this point in the history
  • Loading branch information
motdotla committed Nov 4, 2023
2 parents 01000f0 + fc60b1b commit 5d00dd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -551,7 +551,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 5d00dd9

Please sign in to comment.