fix: Improved bundle size (#142)

* Framer Motion is now lazy loaded.
* FontAwesome is now a custom component removing all the bloat we don't need.
* Imports and exports for types now use the proper syntax to get excluded by bundlers.
This commit is contained in:
Manuel S
2022-08-27 03:28:36 +02:00
committed by GitHub
parent 91f7be77d1
commit 67c2f2180d
117 changed files with 954 additions and 576 deletions
+2 -3
View File
@@ -13,7 +13,6 @@
"@fortawesome/fontawesome-svg-core": "^6.1.1",
"@fortawesome/free-brands-svg-icons": "^6.1.1",
"@fortawesome/pro-solid-svg-icons": "^6.1.1",
"@fortawesome/react-fontawesome": "^0.1.18",
"@graphql-tools/merge": "^8.2.1",
"@graphql-tools/schema": "^8.2.0",
"@graphql-tools/utils": "^8.6.5",
@@ -21,13 +20,13 @@
"@reach/listbox": "^0.17.0",
"@reach/menu-button": "^0.17.0",
"common-tags": "^1.8.0",
"framer-motion": "^6.2.1",
"framer-motion": "^6.5.1",
"graphql": "^15.8.0",
"graphql-parse-resolve-info": "^4.12.0",
"graphql-tag": "^2.12.6",
"lodash-es": "^4.17.21",
"marked": "^4.0.12",
"next": "^12.2.0",
"next": "^12.2.5",
"p-limit": "^3.1.0",
"prismjs": "^1.27.0",
"react": "^17.0.2",