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 UI on any hosting provider you prefer such as S3 and CloudFront.

  • Here is an example pipeline showing deploy to S3 & Invalidate CloudFront using any tool such as GitHub Actions

Was this helpful?