Reduce bundle size by importing single icons at a time (#6644)
* Removed barrel import for icons to reduce bundle size. * Fixed replacement mistakes * Reverted unneccesary yarn.lock updates * Added some missed Icon. import conversions * Remove merge artifact import in @calcom/ui * Don't import Icon in pages/[user] * Update packages/ui/package.json Co-authored-by: Alex van Andel <[email protected]> Co-authored-by: Omar López <[email protected]>
This commit is contained in:
155 files changed
+881
-768
No files matched your search
@@ -3,7 +3,10 @@
|
||||
"sideEffects": false,
|
||||
"version": "0.0.0",
|
||||
"main": "./index.tsx",
|
||||
"exports": "./index.tsx",
|
||||
"exports": {
|
||||
".": "./index.tsx",
|
||||
"./components/icon": "./components/icon/index.ts"
|
||||
},
|
||||
"types": "./index.tsx",
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
|
||||
Reference in new issue
Block a user