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 |
||
---|---|---|
.. | ||
.storybook | ||
src | ||
test | ||
.eslintrc.cjs | ||
.gitignore | ||
package.json | ||
postcss.config.cjs | ||
preflight.css | ||
README.md | ||
styles.css | ||
tailwind.cjs | ||
tailwind.config.cjs | ||
tsconfig.declaration.json | ||
tsconfig.json | ||
tsconfig.node.json | ||
vite.config.ts |
Admin X Design
Components, design guidelines and documentation for building apps in Ghost Admin
Usage
Develop
This is a monorepo package.
Follow the instructions for the top-level repo.
git clone
this repo &cd
into it as usual- Run
yarn
to install top-level dependencies.
Test
yarn lint
run just eslintyarn test
run lint and tests