mirror of
https://github.com/immich-app/immich
synced 2025-10-17 18:19:27 +00:00
perf(web): optimize images and modules (#7088)
* perf: optimize images and modules * fix: tests * fix: missing font * fix: delay showing the loading spinner * simplify * simplify * pr feedback * chore: merge main * fix: enum --------- Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
This commit is contained in:
parent
3480fe5326
commit
36e5d298db
10 changed files with 796 additions and 59 deletions
|
|
@ -1,3 +1,4 @@
|
|||
import { enhancedImages } from '@sveltejs/enhanced-img';
|
||||
import { sveltekit } from '@sveltejs/kit/vite';
|
||||
import path from 'node:path';
|
||||
import { visualizer } from 'rollup-plugin-visualizer';
|
||||
|
|
@ -33,6 +34,7 @@ export default defineConfig({
|
|||
emitFile: true,
|
||||
filename: 'stats.html',
|
||||
}),
|
||||
enhancedImages(),
|
||||
],
|
||||
optimizeDeps: {
|
||||
entries: ['src/**/*.{svelte,ts,html}'],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue