Skip to content

Commit cd07e96

Browse files
authored
Added exports in package.json (#11)
* Added exports in `package.json` * Types
1 parent f523d99 commit cd07e96

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

package.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,13 @@
88
"dead-code-eliminator": "./configs/scripts/dead-code-eliminator/index.js",
99
"remove-unused-translation-keys": "./configs/scripts/remove-unused-translation-keys/index.js"
1010
},
11+
"exports": {
12+
".": {
13+
"import": "./index.js",
14+
"require": "./index.cjs.js",
15+
"types": "./index.d.ts"
16+
}
17+
},
1118
"scripts": {
1219
"prepare": "husky install",
1320
"sync_with_wheel": "./.scripts/sync_with_wheel.sh",

0 commit comments

Comments
 (0)