Skip to content

Commit c3fa454

Browse files
authored
remove unused vite plugins (#231)
1 parent 2da4379 commit c3fa454

File tree

4 files changed

+2
-625
lines changed

4 files changed

+2
-625
lines changed

apps/events/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@
4646
"@types/uuid": "^10.0.0",
4747
"@vitejs/plugin-react": "^4.4.1",
4848
"globals": "^16.1.0",
49-
"tailwindcss": "^4.1.5",
50-
"vite-plugin-node-polyfills": "^0.23.0"
49+
"tailwindcss": "^4.1.5"
5150
}
5251
}

apps/events/vite.config.ts

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,10 @@ import tailwindcss from '@tailwindcss/vite';
33
import { TanStackRouterVite } from '@tanstack/router-plugin/vite';
44
import react from '@vitejs/plugin-react';
55
import { defineConfig } from 'vite';
6-
import { nodePolyfills } from 'vite-plugin-node-polyfills';
76

87
// https://vitejs.dev/config/
98
export default defineConfig({
10-
plugins: [
11-
TanStackRouterVite(),
12-
react(),
13-
nodePolyfills({
14-
globals: {
15-
Buffer: true,
16-
global: true,
17-
},
18-
}),
19-
tailwindcss(),
20-
],
9+
plugins: [TanStackRouterVite(), react(), tailwindcss()],
2110
resolve: {
2211
alias: {
2312
'@': path.resolve(__dirname, './src'),

apps/typesync/src/Generator.ts

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -222,8 +222,6 @@ function generatePackageJson(app: Domain.InsertAppSchema) {
222222
prettier: '^3.5.3',
223223
typescript: '~5.8.3',
224224
'typescript-eslint': '^8.29.1',
225-
'vite-plugin-node-polyfills': '^0.23.0',
226-
'vite-plugin-top-level-await': '^1.5.0',
227225
},
228226
};
229227
}
@@ -355,21 +353,12 @@ import path from 'node:path';
355353
import { TanStackRouterVite } from '@tanstack/router-plugin/vite';
356354
import react from '@vitejs/plugin-react';
357355
import { defineConfig } from 'vite';
358-
import { nodePolyfills } from 'vite-plugin-node-polyfills';
359-
import topLevelAwait from 'vite-plugin-top-level-await';
360356
361357
// https://vitejs.dev/config/
362358
export default defineConfig({
363359
plugins: [
364-
topLevelAwait(),
365360
TanStackRouterVite(),
366361
react(),
367-
nodePolyfills({
368-
globals: {
369-
Buffer: true,
370-
global: true,
371-
},
372-
}),
373362
],
374363
resolve: {
375364
alias: {

0 commit comments

Comments
 (0)