File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,6 @@ import tailwindcss from '@tailwindcss/vite';
55import react from '@vitejs/plugin-react-swc' ;
66import { defineConfig } from 'vite' ;
77
8- // @ts -expect-error - conflict with vite version of subdependency, but works with v6
98export default defineConfig ( ( { mode } ) => ( {
109 build : {
1110 chunkSizeWarningLimit : 1000 ,
@@ -23,7 +22,7 @@ export default defineConfig(({ mode }) => ({
2322 react ( ) ,
2423 runtime ( {
2524 disabled : mode === 'test'
26- } ) ,
25+ } ) as any ,
2726 tailwindcss ( )
2827 ] ,
2928 resolve : {
Original file line number Diff line number Diff line change @@ -33,10 +33,9 @@ export default defineConfig({
3333 } ) ,
3434 react ( ) ,
3535 viteCompression ( ) ,
36- // @ts -expect-error - conflict with vite version of subdependency, but works with v6
3736 importMetaEnv . vite ( {
3837 example : path . resolve ( import . meta. dirname , '.env.public' )
39- } ) ,
38+ } ) as any ,
4039 runtime ( ) ,
4140 tailwindcss ( )
4241 ] ,
You can’t perform that action at this time.
0 commit comments