Skip to content

Commit a3bb67b

Browse files
committed
test: update more
1 parent 47ed924 commit a3bb67b

3 files changed

Lines changed: 22 additions & 22 deletions

File tree

packages/plugin-rsc/examples/react-router/cf/vite.config.ts

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,16 @@ export default defineConfig({
1212
plugins: [
1313
// import("vite-plugin-inspect").then(m => m.default()),
1414
tailwindcss(),
15-
{
16-
// TODO: quick workaround for https://github.com/tailwindlabs/tailwindcss/pull/19670
17-
name: 'fix-tailwind-full-reload',
18-
configResolved(config) {
19-
const plugin = config.plugins.find(
20-
(p) => p.name === '@tailwindcss/vite:generate:serve',
21-
)
22-
delete plugin?.hotUpdate
23-
},
24-
},
15+
// {
16+
// // TODO: quick workaround for https://github.com/tailwindlabs/tailwindcss/pull/19670
17+
// name: 'fix-tailwind-full-reload',
18+
// configResolved(config) {
19+
// const plugin = config.plugins.find(
20+
// (p) => p.name === '@tailwindcss/vite:generate:serve',
21+
// )
22+
// delete plugin?.hotUpdate
23+
// },
24+
// },
2525
react(),
2626
rsc({
2727
entries: {

packages/plugin-rsc/examples/react-router/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@
2020
"devDependencies": {
2121
"@cloudflare/vite-plugin": "^1.25.2",
2222
"@tailwindcss/typography": "^0.5.19",
23-
"@tailwindcss/vite": "^4.2.1",
23+
"@tailwindcss/vite": "file:../../../../tailwindcss-vite-4.2.1.tgz",
2424
"@types/react": "^19.2.14",
2525
"@types/react-dom": "^19.2.3",
2626
"@vitejs/plugin-react": "latest",
2727
"@vitejs/plugin-rsc": "latest",
28-
"tailwindcss": "^4.2.1",
28+
"tailwindcss": "file:../../../../tailwindcss-4.2.1.tgz",
2929
"vite": "^8.0.0-beta.16",
3030
"wrangler": "^4.67.0"
3131
}

packages/plugin-rsc/examples/react-router/vite.config.ts

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,16 @@ export default defineConfig({
1111
plugins: [
1212
// import("vite-plugin-inspect").then(m => m.default()),
1313
tailwindcss(),
14-
{
15-
// TODO: quick workaround for https://github.com/tailwindlabs/tailwindcss/pull/19670
16-
name: 'fix-tailwind-full-reload',
17-
configResolved(config) {
18-
const plugin = config.plugins.find(
19-
(p) => p.name === '@tailwindcss/vite:generate:serve',
20-
)
21-
delete plugin?.hotUpdate
22-
},
23-
},
14+
// {
15+
// // TODO: quick workaround for https://github.com/tailwindlabs/tailwindcss/pull/19670
16+
// name: 'fix-tailwind-full-reload',
17+
// configResolved(config) {
18+
// const plugin = config.plugins.find(
19+
// (p) => p.name === '@tailwindcss/vite:generate:serve',
20+
// )
21+
// delete plugin?.hotUpdate
22+
// },
23+
// },
2424
react(),
2525
rsc({
2626
entries: {

0 commit comments

Comments
 (0)