Skip to content

Comments

Simplify admin builds#26469

Draft
jonatansberg wants to merge 5 commits intomainfrom
ber-3341-simplify-admin-builds
Draft

Simplify admin builds#26469
jonatansberg wants to merge 5 commits intomainfrom
ber-3341-simplify-admin-builds

Conversation

@jonatansberg
Copy link
Member

Remove all redundant build steps, except for the admin-x-design-system. It still needs to be built separately in order to support continued usage of the SVGR Vite plugin.

ref https://linear.app/ghost/issue/BER-3341/simplify-admin-builds

This shifts admin-x dependencies to JIT/source consumption so local builds and
watch mode no longer rely on broad prebuild fan-out.
ref https://linear.app/ghost/issue/BER-3341/simplify-admin-builds

This removes duplicated declaration-only configs and isolates generated typings
under types/generated to reduce confusion between source and build artifacts.
ref https://linear.app/ghost/issue/BER-3341/simplify-admin-builds

This restores SVG handling for design-system icons that depend on a build-time
svgr transforms.
ref https://linear.app/ghost/issue/BER-3341/simplify-admin-builds

The logo components were not consumed from @tryghost/shade, so keeping SVGR and bundled logo assets added avoidable build/runtime surface.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant