Skip to content

Commit

Permalink
Added exports in package.json (#11)
Browse files Browse the repository at this point in the history
* Added exports in `package.json`

* Types
  • Loading branch information
ajmaln authored Oct 30, 2023
1 parent f523d99 commit cd07e96
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@
"dead-code-eliminator": "./configs/scripts/dead-code-eliminator/index.js",
"remove-unused-translation-keys": "./configs/scripts/remove-unused-translation-keys/index.js"
},
"exports": {
".": {
"import": "./index.js",
"require": "./index.cjs.js",
"types": "./index.d.ts"
}
},
"scripts": {
"prepare": "husky install",
"sync_with_wheel": "./.scripts/sync_with_wheel.sh",
Expand Down

0 comments on commit cd07e96

Please sign in to comment.