feat: enable ts for rollup-plugin-visualizer (#2897)
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
Co-authored-by: Dominik Pschenitschni <mail@celement.de> Reviewed-on: #2897 Co-authored-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de> Co-committed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
This commit is contained in:
parent
0d91d2845f
commit
09d13520b0
@ -1,5 +1,5 @@
|
||||
/// <reference types="vitest" />
|
||||
import {defineConfig} from 'vite'
|
||||
import {defineConfig, type PluginOption} from 'vite'
|
||||
import vue from '@vitejs/plugin-vue'
|
||||
import legacyFn from '@vitejs/plugin-legacy'
|
||||
import { URL, fileURLToPath } from 'node:url'
|
||||
@ -146,7 +146,10 @@ export default defineConfig({
|
||||
plugins: [
|
||||
visualizer({
|
||||
filename: 'stats.html',
|
||||
}),
|
||||
gzipSize: true,
|
||||
// template: 'sunburst',
|
||||
// brotliSize: true,
|
||||
}) as PluginOption,
|
||||
],
|
||||
},
|
||||
},
|
||||
|
Reference in New Issue
Block a user