Build Instructions

Production Build

  1. Create production build:

    yarn build
  2. The build output will be in the dist/ directory

Build Configuration

The build process uses Vite and includes:

  • TypeScript compilation

  • Asset optimization

  • Bundle size optimization

  • Environment variable injection

Build Output

The dist/ directory will contain:

  • HTML entry point

  • JavaScript bundles

  • CSS bundles

  • Static assets

  • Source maps (if enabled)

Deployment Options

You can host the UI on any hosting provider you prefer, such as S3 and CloudFront.

Here is an example pipeline showing deployment to S3 & CloudFront Invalidation using a CI/CD tool such as GitHub Actions.

  • We are currently deploying the frontend on S3 (not using Docker).

For detailed instructions, refer to the Frontend Deployment Documentation.

Last updated