diff --git a/packages/rsc/examples/starter/README.md b/packages/rsc/examples/starter/README.md index 27bbb6b9d..deb12be70 100644 --- a/packages/rsc/examples/starter/README.md +++ b/packages/rsc/examples/starter/README.md @@ -35,4 +35,4 @@ See [`@hiogawa/vite-rsc`](https://github.com/hi-ogawa/vite-plugins/tree/main/pac ## Notes - [`./src/framework/entry.{browser,rsc,ssr}.tsx`](./src/framework) (with inline comments) provides an overview of how low level RSC (React flight) API can be used to build RSC framework. -- You can use [`vite-plugin-inspect`](https://github.com/antfu-collective/vite-plugin-inspect) (available at http://localhost:5173/__inspect/) to see how `"use client"` and `"use server"` directives are internally transformed. +- You can use [`vite-plugin-inspect`](https://github.com/antfu-collective/vite-plugin-inspect) to understand how `"use client"` and `"use server"` directives are transformed internally. diff --git a/packages/rsc/examples/starter/vite.config.ts b/packages/rsc/examples/starter/vite.config.ts index 54395d577..0b823979c 100644 --- a/packages/rsc/examples/starter/vite.config.ts +++ b/packages/rsc/examples/starter/vite.config.ts @@ -1,7 +1,6 @@ import rsc from "@hiogawa/vite-rsc/plugin"; import react from "@vitejs/plugin-react"; import { defineConfig } from "vite"; -import inspect from "vite-plugin-inspect"; export default defineConfig({ plugins: [ @@ -17,10 +16,6 @@ export default defineConfig({ // use any of react plugins https://github.com/vitejs/vite-plugin-react // to enable client component HMR react(), - - // vite-plugin-inspect is useful for understanding - // "use client" / "use server" transforms. - inspect({ build: true }), ], // specify entry point for each environment.