Skip to content

Commit 31a90b7

Browse files
authored
Merge pull request #503 from franciscop/patch-1
Allow for `import "dotenv/config";` in Node.js
2 parents 5ff8f48 + 0db3a93 commit 31a90b7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

package.json

+4
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
"version": "8.4.0",
44
"description": "Loads environment variables from .env file",
55
"main": "lib/main.js",
6+
"exports": {
7+
".": "./lib/main.js",
8+
"./config": "./config.js"
9+
},
610
"types": "types/index.d.ts",
711
"scripts": {
812
"flow": "flow",

0 commit comments

Comments
 (0)