Skip to content

Discussion: Which bundler to use (Webpack, Rollup, Parcel, esbuild...) #55

@imtsuki

Description

@imtsuki

Currently create-react-app suffers from slow compilation. On my personal laptop (MacBook Pro 13' late 2017) it usually takes up to ~1 min to do a cold start, which is kind of unacceptable for this size of apps. People (including @promer94 ) are suggesting we should move to another bundler. I think we should discuss which bundler we should move to:

There are several choices:

  • Webpack: which create-react-app is using under the hood. Slowest but has the best compatibility. Also, the configuration is a nightmare.
  • Rollup: seems like an "average".
  • Parcel: Relatively fast compared to other bundlers.
  • esbuild: Fastest but... Is anybody actually using this in a serious project?
  • (Please add another)

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions