build(ui): tree-shake ui components

This commit is contained in:
iCrawl
2023-05-12 20:20:42 +02:00
parent d033f925e0
commit 5351ab429b
2 changed files with 22 additions and 4 deletions

View File

@@ -15,11 +15,11 @@
"chromatic": "chromatic"
},
"type": "module",
"main": "./dist/ui.js",
"main": "./dist/index.js",
"typings": "./dist/index.d.ts",
"exports": {
"types": "./dist/index.d.ts",
"import": "./dist/ui.js"
"import": "./dist/index.js"
},
"sideEffects": false,
"directories": {