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

fix(sandpack-client): fixing package exports #737

Merged
merged 12 commits into from
Feb 20, 2023

Conversation

jeetiss
Copy link
Contributor

@jeetiss jeetiss commented Feb 20, 2023

What kind of change does this pull request introduce?

Fixes package exports again and enable code-splitting and dynamic imports in esbuild
docs: https://esbuild.github.io/api/#splitting

fix #724
fix #677

- skip `utils.ts` and `utils.test.ts`
- this option enables dynamic import in `esm` and reuse `clients/runtime` and `clients/node` entries
@vercel
Copy link

vercel bot commented Feb 20, 2023

@jeetiss is attempting to deploy a commit to the CodeSandbox Team on Vercel.

A member of the Team first needs to authorize it.

Copy link
Member

@danilowoz danilowoz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey! Would you mind making a diferent PR for the bundler changes? Besides that, it looks good to me

@vercel
Copy link

vercel bot commented Feb 20, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated
sandpack-docs ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Feb 20, 2023 at 3:51PM (UTC)

@danilowoz
Copy link
Member

Split this PR on bundler changes: #741

@codesandbox-ci
Copy link

codesandbox-ci bot commented Feb 20, 2023

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit f1ab867:

Sandbox Source
Sandpack Configuration

@danilowoz
Copy link
Member

Sorry, @jeetiss, for hijacking your PR, but I took this time to fix the export and another issue too.

@danilowoz danilowoz merged commit e96672a into codesandbox:main Feb 20, 2023
@jeetiss jeetiss deleted the fixx-modules-and-exports branch February 20, 2023 16:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants