Skip to content

Commit

Permalink
chore: setup publishConfig to use source file in dev
Browse files Browse the repository at this point in the history
  • Loading branch information
XiNiHa committed Dec 16, 2024
1 parent 6854c67 commit d2dd49d
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,17 @@
"module": "./dist/esm/index.mjs",
"types": "./dist/types/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"require": "./dist/index.cjs",
"import": "./dist/index.js"
},
"./package.json": "./package.json"
".": "./src/index.ts"
},
"publishConfig": {
"exports": {
".": {
"types": "./dist/index.d.ts",
"require": "./dist/index.cjs",
"import": "./dist/index.js"
},
"./package.json": "./package.json"
}
},
"scripts": {
"build": "rslib build",
Expand Down

0 comments on commit d2dd49d

Please sign in to comment.