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:
authored and GitHub committed 2023-01-23 23:08:01 +00:00
1 parent a888be6e04
commit cfa8fd8b67
155 files changed
+881 -768

No files matched your search

+4 -1
View File
@@ -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": {