mirror of
https://github.com/immich-app/immich.git
synced 2025-12-18 01:11:07 +03:00
feat(web): separate command to build with rollup plugin visualizer (#9097)
separate command to build with rollup plugin visualizer
This commit is contained in:
@@ -30,10 +30,12 @@ export default defineConfig({
|
||||
},
|
||||
plugins: [
|
||||
sveltekit(),
|
||||
visualizer({
|
||||
emitFile: true,
|
||||
filename: 'stats.html',
|
||||
}),
|
||||
process.env.BUILD_STATS === 'true'
|
||||
? visualizer({
|
||||
emitFile: true,
|
||||
filename: 'stats.html',
|
||||
})
|
||||
: undefined,
|
||||
enhancedImages(),
|
||||
],
|
||||
optimizeDeps: {
|
||||
|
||||
Reference in New Issue
Block a user