Skip to content

Commit

Permalink
fix: define exports
Browse files Browse the repository at this point in the history
  • Loading branch information
gajus committed Feb 25, 2021
1 parent 9325811 commit 562655f
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"boolean": "^3.0.2",
"detect-node": "^2.0.4",
"fast-json-stringify": "^2.4.2",
"fast-printf": "^1.6.0",
"fast-printf": "^1.6.1",
"globalthis": "^1.0.2",
"is-circular": "^1.0.2",
"json-stringify-safe": "^5.0.1",
Expand Down Expand Up @@ -50,6 +50,12 @@
"engines": {
"node": ">=10.0"
},
"exports": {
".": {
"default": "./dist/esm/src/log.js",
"require": "./dist/cjs/src/log.js"
}
},
"husky": {
"scripts": {
"pre-commit": "npm run lint && npm run test && npm run build",
Expand All @@ -63,7 +69,6 @@
],
"license": "BSD-3-Clause",
"main": "./dist/cjs/src/log.js",
"module": "./dist/esm/src/log.js",
"name": "roarr",
"repository": {
"type": "git",
Expand Down

0 comments on commit 562655f

Please sign in to comment.