mirror of
https://github.com/webadderallorg/Recordly.git
synced 2026-11-09 15:33:31 +00:00
fix(vite): constrain dep optimizer inputs for Electron HUD
Limit optimizeDeps scanning to index.html and exclude icon packages that were producing stale/missing prebundle chunks in the transparent HUD renderer.
This commit is contained in:
1 parent
15dae9deae
commit
e9a8f5689d
1 file changed
+12
@@ -39,6 +39,18 @@ export default defineConfig({
|
||||
'@': path.resolve(__dirname, 'src'),
|
||||
},
|
||||
},
|
||||
optimizeDeps: {
|
||||
entries: ['index.html'],
|
||||
exclude: [
|
||||
'lucide-react',
|
||||
'react-icons/bs',
|
||||
'react-icons/fa',
|
||||
'react-icons/fa6',
|
||||
'react-icons/fi',
|
||||
'react-icons/md',
|
||||
'react-icons/rx',
|
||||
],
|
||||
},
|
||||
build: {
|
||||
target: 'esnext',
|
||||
minify: 'terser',
|
||||
|
||||
Reference in new issue
Block a user