Skip to content

Commit

Permalink
fix: add dist folder to subpath imports
Browse files Browse the repository at this point in the history
  • Loading branch information
xobotyi committed Dec 20, 2023
1 parent 7b861e4 commit 70c6799
Show file tree
Hide file tree
Showing 2 changed files with 70 additions and 260 deletions.
7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,10 @@
"types": "./dist/index.d.ts",
"sideEffects": false,
"imports": {
"#root/*": "./src/*"
"#root/*": {
"import": "./dist/*",
"default": "./src/*"
}
},
"exports": {
".": "./dist/index.js",
Expand Down Expand Up @@ -81,7 +84,7 @@
},
"devDependencies": {
"@babel/core": "^7.23.6",
"@commitlint/cli": "^17.7.1",
"@commitlint/cli": "^18.4.3",
"@commitlint/config-conventional": "^18.4.3",
"@commitlint/cz-commitlint": "^18.4.3",
"@jamesacarr/jest-reporter-github-actions": "^0.0.4",
Expand Down
Loading

0 comments on commit 70c6799

Please sign in to comment.