Skip to content

Replace craco / webpack frontend module bundler with vite #6531

@spwoodcock

Description

@spwoodcock

Is your feature request related to a problem? Please describe.

  • We currently use craco, which is a custom wrapper for webpack and probably not recommended going forward.
  • For context, we have recently undergone a large dependency upgrade for the frontend.

Describe the solution you'd like

  • Now deps should be updated, we should also migrate to vite, a more modern module bundler.
  • Speed: vite will include rolldown in future, a high-performance re-write of rollup in Rust.
    • Faster production builds.
    • Faster dev server reloads.

Describe alternatives you've considered

  • Bun, but it's still to early.

Related to #5499

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions