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

feat: remove multiple bundle builds #17

Merged
merged 3 commits into from
Apr 16, 2024
Merged

Conversation

HumbertoL
Copy link
Collaborator

@HumbertoL HumbertoL commented Feb 27, 2024

This PR strips out the different entry points used to build cea-desktop. This change the build to have a single bundle that instead uses lazy loading to split chunks.

This other PR makes the necessary changes to cea-desktop to support a single bundle:
https://github.com/callemall/cea-desktop/pull/9820

To view all the changes in tea-react-scripts compared to the vanilla react-scripts, you can compare this branch to the official CRA repo
facebook/create-react-app@main...callemall:create-react-app:single-bundle-scripts

@HumbertoL HumbertoL marked this pull request as ready for review February 27, 2024 22:35
@HumbertoL HumbertoL force-pushed the single-bundle-scripts branch 2 times, most recently from 49c27a8 to d9aa529 Compare April 2, 2024 14:43
minify: false,
cache: false,
});
// *** Call-Em-All Text-Em-All Web App
Copy link

Choose a reason for hiding this comment

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

May want to keep this line 161 to indicate end of our additions in this block. Just // *** Text-Em-All Web App

@@ -1,6 +1,6 @@
{
"name": "tea-react-scripts",
"version": "1.0.16",
"version": "1.0.17",
Copy link

Choose a reason for hiding this comment

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

Should update to .18

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Thanks! Change pushed

@HumbertoL HumbertoL force-pushed the single-bundle-scripts branch from d9aa529 to 98c6bea Compare April 4, 2024 20:55
Copy link

@aywgit aywgit left a comment

Choose a reason for hiding this comment

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

It's working!

@HumbertoL HumbertoL merged commit 62e4b62 into master Apr 16, 2024
1 check passed
@HumbertoL
Copy link
Collaborator Author

Shoot. I meant to merge the cea-desktop PR 🤦

I'll still address any feedback provided by Mike

@m2mathew m2mathew deleted the single-bundle-scripts branch April 16, 2024 15:43
@m2mathew
Copy link
Member

It's all good. 🚢

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