pages-core icon indicating copy to clipboard operation
pages-core copied to clipboard

Investigate new build process with more modern tooling.

Open apburnes opened this issue 4 months ago • 0 comments

Look at improving and simplifying the build process of Pages app and admin.

Acceptance Criteria

  • [X] Identify a group of available tools to test.

    • [x] Rspack
    • [ ] Parcel
    • [ ] Vite
  • [ ] Answer the following:

    • Does it improve CI and local env build times?
      • Rspack improves initial bundle time by ~5 seconds
    • Does it improve developer experience?
      • Rspack slightly improves initial build time
    • Does it simplify the configuration across applications and environments?
      • Rspack is a minimal effort lift from webpack, a large effort from rollup
      • Parcel is a large effort lift from webpack, a medium effort from rollup
    • Does it have a proven track record and strong OSS community?
      • Rspack has hit v1
    • Is it better to do nothing?
      • With minimal bundling improvements for the amount of input, the best option is to stay as is.
      • To improve dev on local, separating the API and frontend watch commands will greatly improve developer experience. When an update happens to the API, the frontend is automatically rebuilt taking ~20 second rebuild. When updating the frontend, hot module replacement updates the frontend in milliseconds.

apburnes avatar Oct 07 '24 18:10 apburnes