opengovsg / CheckWho

Enable Singapore residents to easily and authoritatively verify public officers
0 stars 0 forks source link

build(vite): upgrade to Vite wip #522

Open zxt-tzx opened 1 year ago

zxt-tzx commented 1 year ago

wip

zxt-tzx commented 1 year ago

Encountering an error where things work locally, but not when deployed to staging.

This is likely because Vite uses esbuild for development, but rollup for production. To debug this, run npm run build then npm run serve on the frontend. Manage to replicate the error locally.

image