0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-04-08 02:52:39 -05:00
ghost/apps
Daniel Lockyer 7db1cb4f14 Fixed treeshaking for lodash in AdminX apps
refs https://dev.to/pffigueiredo/making-lodash-tree-shakable-3h27
ref https://linear.app/tryghost/issue/DEV-20/faster-builds

- by importing `lodash`, we import a huge 500KB file into all AdminX
  apps
- we only use one function from this, so we can switch to `lodash-es`
  and Vite will treeshake the rest out of the final compiled JS
- this saves 500KB in each AdminX app and improves compile times
2024-09-03 10:18:04 +02:00
..
admin-x-activitypub Added static design for Replies 2024-09-02 21:38:32 +01:00
admin-x-demo Removed concurrently from building apps 2024-09-02 12:06:27 +02:00
admin-x-design-system Fixed treeshaking for lodash in AdminX apps 2024-09-03 10:18:04 +02:00
admin-x-framework Removed concurrently from building apps 2024-09-02 12:06:27 +02:00
admin-x-settings Removed concurrently from building apps 2024-09-02 12:06:27 +02:00
announcement-bar Update dependency jsdom to v24.1.3 2024-08-26 09:44:19 +02:00
comments-ui Update dependency jsdom to v24.1.3 2024-08-26 09:44:19 +02:00
portal 🎨 Convert portal links to relative to avoid homepage flash on click (#20896) 2024-09-02 11:23:12 +00:00
signup-form Update dependency jsdom to v24.1.3 2024-08-26 09:44:19 +02:00
sodo-search Update dependency jsdom to v24.1.3 2024-08-26 09:44:19 +02:00