Follow Cloudflare's Doc to connect this repo to Cloudflare Pages.
- Framework preset: `None``
- Build command:
yarn && yarn build
- Build output directory:
/dist
- Root directory:
/preview-ui
Add YARN_ENABLE_IMMUTABLE_INSTALLS=false
to the production and the preview environment variables, which solves an issue of yarn3
.