Skip to content
This repository was archived by the owner on Feb 14, 2021. It is now read-only.

Commit 5fc725a

Browse files
authored
Merge pull request #5 from ankon/patch-1
Expose to users that the src/index.js should be used in ESM environments
2 parents ed3135d + 2e0312e commit 5fc725a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
"license": "MIT",
2424
"homepage": "https://github.com/jayco/accept-language-negotiator#readme",
2525
"main": "dist/index.js",
26+
"module": "src/index.js",
2627
"scripts": {
2728
"test": "NODE_ENV=test mocha --require @babel/register --recursive",
2829
"cov": "NODE_ENV=test COVERAGE=yes LOG_LEVEL=fatal istanbul cover --report html ./node_modules/.bin/_mocha -- --require @babel/register --recursive && open coverage/index.html",

0 commit comments

Comments
 (0)