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

Clean up the build #49

Merged
merged 1 commit into from
Aug 3, 2023
Merged

Clean up the build #49

merged 1 commit into from
Aug 3, 2023

Conversation

sandhose
Copy link
Member

@sandhose sandhose commented Aug 2, 2023

  • in case we're building with the jsx-dev-runtime, it doesn't get included anymore
  • react-dom/server doesn't get included anymore
  • ensure we're not relying on babel
  • make sure we're not using the React default export in the resulting bundle

 - in case we're building with the jsx-dev-runtime, it doesn't get included anymore
 - react-dom/server doesn't get included anymore
 - ensure we're not relying on babel
 - make sure we're not using the React default export in the resulting bundle
@sandhose sandhose requested a review from a team as a code owner August 2, 2023 17:17
@cloudflare-workers-and-pages
Copy link

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 405d90e
Status: ✅  Deploy successful!
Preview URL: https://d9cbb7b1.compound-web.pages.dev
Branch Preview URL: https://quenting-build-cleanup.compound-web.pages.dev

View logs

Copy link
Contributor

@germain-gg germain-gg left a comment

Choose a reason for hiding this comment

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

Looks good to me.
In the short period of time that this package lived we've had a couple of issues related to bundle size. I'll see if we can hook up a bundle size analyser to avoid further regressions

"react/jsx-runtime",
"react/jsx-dev-runtime",
Copy link
Contributor

Choose a reason for hiding this comment

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

Why? I understand react dom. But not sure I have the rationale behind this one? Is that something that usually gets injected by webpack dev server or similar?

@germain-gg germain-gg merged commit eab663c into main Aug 3, 2023
7 checks passed
@germain-gg germain-gg deleted the quenting/build-cleanup branch August 3, 2023 05:02
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.

3 participants