Skip to content

Commit

Permalink
Merge pull request #521 from vajahath/patch-1
Browse files Browse the repository at this point in the history
Update README.md - correcting esm export example.
  • Loading branch information
motdotla authored Feb 5, 2025
2 parents dcbdcb4 + f1b0225 commit b5ede3e
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 @@ -19,7 +19,7 @@ npm install @dotenvx/dotenvx --save
```js
// index.js
require('@dotenvx/dotenvx').config()
// or import('@dotenvx/dotenvx/config') // for esm
// or import '@dotenvx/dotenvx/config' // for esm

console.log(`Hello ${process.env.HELLO}`)
```
Expand Down

0 comments on commit b5ede3e

Please sign in to comment.