Skip to content

Latest commit

 

History

History
18 lines (11 loc) · 696 Bytes

CONTRIBUTING.md

File metadata and controls

18 lines (11 loc) · 696 Bytes

Contributing Guide

pnpm

This project uses pnpm to manage monorepo. You should run pnpm i after cloning this repo.

Tests

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 like Error: 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).

Run playgrounds

cd packages/playground/basic/  # or other playgrounds
npm run dev