Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multi-entry esbuild #31

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft

Multi-entry esbuild #31

wants to merge 3 commits into from

Conversation

rusty-key
Copy link
Collaborator

Current version of reshowcase creates a peculiar situation where we load it twice within itself:
— reshowcase is used to build an iframe with an example
— reshowcase is used to build a UI (header, sidebar navigation, iframe with example).

Resulting UI loads reshowcase twice: first for UI, then within the referenced iframe.

This PR explores an idea of building separate bundles: 1 for reshowcase UI and then 1 bundle per each story, to ensure that story assets and their runtime stays minimal.

@rusty-key rusty-key marked this pull request as draft September 5, 2024 09:26
Base automatically changed from esbuild to main September 14, 2024 18:54
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