This project uses pnpm to manage monorepo. You should run pnpm i
after cloning this repo.
The test setup is copied from vite. Fixtures and test cases is under packages/playground
.
There must be no more than one
.spec.ts
file for each fixture. Otherwise it will cause Error likeError: EEXIST: file already exists, mkdir '/home/csr/vite-plugin-react-pages/temp/basic'
. There is some flaws with current test setup (which is copied from vite's repo).
cd packages/playground/basic/ # or other playgrounds
npm run dev