Setup
pnpm installCreate a .env.development(.local?) based on .env.example
pnpm devCome with react-dev-inspector
To open, use keyboard shortcuts:
- On macOS:
Ctrl + Shift + Command + C - On Windows / Linux:
Ctrl + Shift + Alt + C
Create a .env.staging(.local?) based on .env.example
pnpm build --mode stagingCreate a .env.production(.local?) based on .env.example
pnpm buildAbout SWC config: SWC (@swc/core) must share the same version accross the app. Package that use SWC:
@swc-jotai/debug-label
@swc-jotai/react-refresh
@swc/plugin-react-remove-properties
@vitejs/plugin-react-swc@swc/core is currently pinned to 1.6.13 in package.json