We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c2cc882 commit 9de0f7aCopy full SHA for 9de0f7a
vite.ui.config.ts
@@ -78,9 +78,7 @@ export default defineConfig({
78
generateHtmlEntries(),
79
// Cast to PluginOption due to Vite version mismatch in plugin types
80
nodePolyfills({
81
- // Include polyfills for Node.js modules used by dependencies
82
include: ["buffer", "stream"],
83
- // Use globals for smaller bundle size
84
globals: {
85
Buffer: true,
86
},
@@ -100,11 +98,8 @@ export default defineConfig({
100
98
inlineDynamicImports: false,
101
99
102
103
- // Inline all assets below this size (in bytes)
104
assetsInlineLimit: 100000000,
105
- // Don't generate source maps for production builds
106
sourcemap: false,
107
- // Minify the output
108
minify: "esbuild",
109
110
resolve: {
0 commit comments