Skip to content

Commit

Permalink
fix ui package exports for turbopack
Browse files Browse the repository at this point in the history
  • Loading branch information
ahkhanjani committed Oct 25, 2024
1 parent 8d75f50 commit 12b003c
Showing 1 changed file with 8 additions and 13 deletions.
21 changes: 8 additions & 13 deletions packages/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,18 @@
"version": "0.1.0",
"type": "module",
"exports": {
".": {
"types": "./dist/src/index.d.ts",
"default": "./src/index.ts"
},
"./*": {
"types": "./dist/src/*.d.ts",
"default": [
"./src/*.ts",
"./src/*.tsx"
]
}
".": "./src/index.ts",
"./button": "./src/button.tsx",
"./dropdown-menu": "./src/dropdown-menu.tsx",
"./form": "./src/form.tsx",
"./input": "./src/input.tsx",
"./label": "./src/label.tsx",
"./theme": "./src/theme.tsx",
"./toast": "./src/toast.tsx"
},
"license": "MIT",
"scripts": {
"build": "tsc",
"clean": "git clean -xdf .cache .turbo dist node_modules",
"dev": "tsc",
"format": "prettier --check . --ignore-path ../../.gitignore",
"lint": "eslint",
"typecheck": "tsc --noEmit --emitDeclarationOnly false",
Expand Down

0 comments on commit 12b003c

Please sign in to comment.