Skip to content

fix(build): include theme JSON assets in published dist#80

Merged
liftaris merged 1 commit into
liftaris:devfrom
kdmarble:fix/theme-asset-packaging
May 24, 2026
Merged

fix(build): include theme JSON assets in published dist#80
liftaris merged 1 commit into
liftaris:devfrom
kdmarble:fix/theme-asset-packaging

Conversation

@kdmarble
Copy link
Copy Markdown
Contributor

@kdmarble kdmarble commented May 23, 2026

Bun does not include variable dynamic imports (import(./themes/${name}.json)) in the bundle. The published package was missing theme JSON bodies, causing ThemeProvider to return null and paint a blank TUI.

Copy src/theme/themes to dist/themes alongside README/LICENSE, matching the pattern already used for eikon assets. Related #79

Bun does not include variable dynamic imports (import(`./themes/${name}.json`))
in the bundle. The published package was missing theme JSON bodies, causing
ThemeProvider to return null and paint a blank TUI.

Copy src/theme/themes to dist/themes alongside README/LICENSE, matching the
pattern already used for eikon assets.
@liftaris liftaris merged commit 862eea9 into liftaris:dev May 24, 2026
@github-actions
Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 1.7.2-dev.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@liftaris liftaris mentioned this pull request May 24, 2026
@github-actions
Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 1.7.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants