Skip to content

Commit

Permalink
Add types to package.json exports
Browse files Browse the repository at this point in the history
  • Loading branch information
julamb authored Dec 27, 2023
1 parent 8bb01a7 commit 411a3c3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,22 @@
],
"exports": {
".": {
"types": "./index.d.ts",
"import": "./dist/module/index.js",
"require": "./dist/commonjs/index.js"
},
"./no-pro": {
"types": "./no-pro/index.d.ts",
"import": "./dist/module/no-pro/index.js",
"require": "./dist/commonjs/no-pro/index.js"
},
"./unstyle": {
"types": "./unstyle/index.d.ts",
"import": "./dist/module/unstyle/index.js",
"require": "./dist/commonjs/unstyle/index.js"
},
"./no-pro-unstyle": {
"types": "./no-pro-unstyle/index.d.ts",
"import": "./dist/module/no-pro-unstyle/index.js",
"require": "./dist/commonjs/no-pro-unstyle/index.js"
}
Expand Down

0 comments on commit 411a3c3

Please sign in to comment.