mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -05:00
7db1cb4f14
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 |
||
---|---|---|
.. | ||
useGlobalDirtyState.tsx | ||
usePagination.tsx | ||
useSortableIndexedList.tsx |