File tree Expand file tree Collapse file tree
packages/plugin-rsc/examples/react-router Expand file tree Collapse file tree Original file line number Diff line number Diff 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 : {
Original file line number Diff line number Diff line change 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 }
Original file line number Diff line number Diff 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 : {
You can’t perform that action at this time.
0 commit comments