Skip to content

Commit 9de0f7a

Browse files
committed
refactor: clean up Vite UI configuration by removing unnecessary comments and optimizing settings
1 parent c2cc882 commit 9de0f7a

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

vite.ui.config.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,7 @@ export default defineConfig({
7878
generateHtmlEntries(),
7979
// Cast to PluginOption due to Vite version mismatch in plugin types
8080
nodePolyfills({
81-
// Include polyfills for Node.js modules used by dependencies
8281
include: ["buffer", "stream"],
83-
// Use globals for smaller bundle size
8482
globals: {
8583
Buffer: true,
8684
},
@@ -100,11 +98,8 @@ export default defineConfig({
10098
inlineDynamicImports: false,
10199
},
102100
},
103-
// Inline all assets below this size (in bytes)
104101
assetsInlineLimit: 100000000,
105-
// Don't generate source maps for production builds
106102
sourcemap: false,
107-
// Minify the output
108103
minify: "esbuild",
109104
},
110105
resolve: {

0 commit comments

Comments
 (0)