Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
"typescript": "^5.9.2",
"typescript-eslint": "^8.39.0",
"vite": "^7.1.1",
"vite-plugin-inspect": "^11.3.2",
"vitest": "^3.2.4"
},
"simple-git-hooks": {
Expand Down
1 change: 0 additions & 1 deletion packages/plugin-rsc/examples/basic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
"rsc-html-stream": "^0.0.7",
"tailwindcss": "^4.1.11",
"vite": "^7.1.1",
"vite-plugin-inspect": "^11.3.2",
"wrangler": "^4.28.1"
},
"stackblitz": {
Expand Down
5 changes: 2 additions & 3 deletions packages/plugin-rsc/examples/basic/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@ import rsc, { transformHoistInlineDirective } from '@vitejs/plugin-rsc'
import tailwindcss from '@tailwindcss/vite'
import react from '@vitejs/plugin-react'
import { type Plugin, defineConfig, normalizePath, parseAstAsync } from 'vite'
import inspect from 'vite-plugin-inspect'
// import inspect from 'vite-plugin-inspect'
import path from 'node:path'

export default defineConfig({
clearScreen: false,
plugins: [
// inspect(),
tailwindcss(),
react(),
vitePluginUseCache(),
Expand All @@ -23,8 +24,6 @@ export default defineConfig({
copyServerAssetsToClient: (fileName) =>
fileName !== '__server_secret.txt',
}),
// avoid ecosystem CI fail due to vite-plugin-inspect compatibility
!process.env.ECOSYSTEM_CI && inspect(),
{
name: 'test-client-reference-tree-shaking',
enforce: 'post',
Expand Down
4 changes: 2 additions & 2 deletions packages/plugin-rsc/examples/react-router/cf/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import rsc from '@vitejs/plugin-rsc'
import tailwindcss from '@tailwindcss/vite'
import react from '@vitejs/plugin-react'
import { defineConfig } from 'vite'
import inspect from 'vite-plugin-inspect'
// import inspect from 'vite-plugin-inspect'
import { reactRouter } from '../react-router-vite/plugin'

export default defineConfig({
Expand All @@ -12,6 +12,7 @@ export default defineConfig({
minify: false,
},
plugins: [
// inspect(),
tailwindcss(),
react(),
reactRouter(),
Expand All @@ -21,7 +22,6 @@ export default defineConfig({
},
serverHandler: false,
}),
inspect(),
cloudflare({
configPath: './cf/wrangler.ssr.jsonc',
viteEnvironment: {
Expand Down
1 change: 0 additions & 1 deletion packages/plugin-rsc/examples/react-router/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
"@vitejs/plugin-rsc": "latest",
"tailwindcss": "^4.1.11",
"vite": "^7.1.1",
"vite-plugin-inspect": "^11.3.2",
"wrangler": "^4.28.1"
}
}
4 changes: 2 additions & 2 deletions packages/plugin-rsc/examples/react-router/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import rsc from '@vitejs/plugin-rsc'
import tailwindcss from '@tailwindcss/vite'
import react from '@vitejs/plugin-react'
import { defineConfig } from 'vite'
import inspect from 'vite-plugin-inspect'
// import inspect from 'vite-plugin-inspect'
import { reactRouter } from './react-router-vite/plugin'

export default defineConfig({
Expand All @@ -11,6 +11,7 @@ export default defineConfig({
minify: false,
},
plugins: [
// inspect(),
tailwindcss(),
react(),
reactRouter(),
Expand All @@ -21,7 +22,6 @@ export default defineConfig({
rsc: './react-router-vite/entry.rsc.single.tsx',
},
}),
inspect(),
],
optimizeDeps: {
include: ['react-router', 'react-router/internal/react-server-client'],
Expand Down
3 changes: 1 addition & 2 deletions packages/plugin-rsc/examples/ssg/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
"@types/react": "^19.1.9",
"@types/react-dom": "^19.1.7",
"@vitejs/plugin-react": "latest",
"@vitejs/plugin-rsc": "latest",
"vite-plugin-inspect": "^11.3.2"
"@vitejs/plugin-rsc": "latest"
}
}
4 changes: 2 additions & 2 deletions packages/plugin-rsc/examples/ssg/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@ import rsc from '@vitejs/plugin-rsc'
import mdx from '@mdx-js/rollup'
import react from '@vitejs/plugin-react'
import { type Plugin, type ResolvedConfig, defineConfig } from 'vite'
import inspect from 'vite-plugin-inspect'
// import inspect from 'vite-plugin-inspect'
import { RSC_POSTFIX } from './src/framework/shared'

export default defineConfig((env) => ({
plugins: [
// inspect(),
mdx(),
react(),
rsc({
Expand All @@ -23,7 +24,6 @@ export default defineConfig((env) => ({
useBuildAppHook: true,
}),
rscSsgPlugin(),
inspect(),
],
}))

Expand Down
3 changes: 1 addition & 2 deletions packages/plugin-rsc/examples/starter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
"@vitejs/plugin-react": "latest",
"@vitejs/plugin-rsc": "latest",
"rsc-html-stream": "^0.0.7",
"vite": "^7.1.1",
"vite-plugin-inspect": "^11.3.2"
"vite": "^7.1.1"
}
}
3 changes: 1 addition & 2 deletions packages/plugin-rsc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,7 @@
"react-server-dom-webpack": "^19.1.1",
"rsc-html-stream": "^0.0.7",
"tinyexec": "^1.0.1",
"tsdown": "^0.14.0",
"vite-plugin-inspect": "^11.3.2"
"tsdown": "^0.14.0"
},
"peerDependencies": {
"react": "*",
Expand Down
18 changes: 3 additions & 15 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading