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

Move from CRACO to Webpack with SWC #34717

Open
alex-golovanov opened this issue Jul 4, 2024 · 0 comments
Open

Move from CRACO to Webpack with SWC #34717

alex-golovanov opened this issue Jul 4, 2024 · 0 comments
Assignees
Labels
Enhancement New feature or request Frontend This label marks the issue or pull request to reference client code IDE Navigation Issues/feature requests related to IDE navigation, and context switching IDE Pod Issues that new developers face while exploring the IDE IDE Product Issues related to the IDE Product

Comments

@alex-golovanov
Copy link
Contributor

In short, moving from CRACO to Webpack with SWC can provide significant performance gains, greater flexibility, and a deeper understanding/control of the build process.

Reasons for upgrade:

  1. Performance Improvements
    SWC is a Rust-based compiler that is significantly faster than Babel. Upgrade will lead to faster build times and quicker feedback during development.
  2. Customization and Flexibility
    CRA abstracts much of the Webpack configuration, which can be limiting when you need more advanced configurations. Moving to a custom Webpack setup removes these limitations, using Webpack directly gives you complete control over your build setup.
  3. Better Maintenance and Debugging
    With Webpack, we maintain direct control over configuration files, making it easier to debug and update as your project evolves. A well-structured Webpack setup can lead to a clearer understanding of the build process, making maintenance easier and reducing the likelihood of obscure issues.
@alex-golovanov alex-golovanov added Enhancement New feature or request Frontend This label marks the issue or pull request to reference client code IDE Pod Issues that new developers face while exploring the IDE labels Jul 4, 2024
@alex-golovanov alex-golovanov self-assigned this Jul 4, 2024
@github-actions github-actions bot removed the IDE Pod Issues that new developers face while exploring the IDE label Jul 4, 2024
@hetunandu hetunandu added the IDE Navigation Issues/feature requests related to IDE navigation, and context switching label Jul 22, 2024
@github-actions github-actions bot added the IDE Pod Issues that new developers face while exploring the IDE label Jul 22, 2024
@Nikhil-Nandagopal Nikhil-Nandagopal added the IDE Product Issues related to the IDE Product label Aug 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request Frontend This label marks the issue or pull request to reference client code IDE Navigation Issues/feature requests related to IDE navigation, and context switching IDE Pod Issues that new developers face while exploring the IDE IDE Product Issues related to the IDE Product
Projects
None yet
Development

No branches or pull requests

3 participants