Skip to content

Commit 487518f

Browse files
committed
fix: issue with vite types
1 parent 4fab2cb commit 487518f

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

apps/gateway/vite.config.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import tailwindcss from '@tailwindcss/vite';
55
import react from '@vitejs/plugin-react-swc';
66
import { defineConfig } from 'vite';
77

8-
// @ts-expect-error - conflict with vite version of subdependency, but works with v6
98
export 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: {

apps/web/vite.config.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff 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
],

0 commit comments

Comments
 (0)