You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+4-2
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,9 @@ To develop and test the core `vite` package:
10
10
11
11
1. Run `pnpm i` in Vite's root folder
12
12
13
-
2. Go to `packages/vite` and run `pnpm run dev`. This starts `rollup` in watch mode.
13
+
2. Run `pnpm run build` in Vite's root folder.
14
+
15
+
3. If you are developing Vite itself, you can go to `packages/vite` and run `pnpm run dev` to automatically rebuild Vite whenever you change its code.
14
16
15
17
You can alternatively use [Vite.js Docker Dev](https://github.com/nystudio107/vitejs-docker-dev) for a containerized Docker setup for Vite.js development.
16
18
@@ -67,7 +69,7 @@ And re-run `pnpm install` to link the package.
67
69
68
70
Each package under `packages/playground/` contains a `__tests__` directory. The tests are run using [Jest](https://jestjs.io/) + [Playwright](https://playwright.dev/) with custom integrations to make writing tests simple. The detailed setup is inside `jest.config.js` and `scripts/jest*` files.
69
71
70
-
Each test can be run under either dev server mode or build mode.
72
+
Each test can be run under either dev server mode or build mode. Make sure that [Vite has been built](#repo-setup).
71
73
72
74
-`pnpm test` by default runs every test in both serve and build mode.
0 commit comments