mirror of
https://github.com/suitenumerique/meet.git
synced 2026-08-26 02:06:53 +00:00
🎨(frontend) format vite config file
Apply the project's formatter to the Vite config file to align its style with the rest of the codebase.
This commit is contained in:
committed by
aleb_the_flash
parent
85f886d9c5
commit
8118ef0612
@@ -11,18 +11,23 @@ export default defineConfig(({ mode }) => {
|
|||||||
react(),
|
react(),
|
||||||
svgr({
|
svgr({
|
||||||
svgrOptions: {
|
svgrOptions: {
|
||||||
replaceAttrValues: { '#000': 'currentColor', '#000000': 'currentColor', '#1f1f1f': 'currentColor' },
|
replaceAttrValues: {
|
||||||
|
'#000': 'currentColor',
|
||||||
|
'#000000': 'currentColor',
|
||||||
|
'#1f1f1f': 'currentColor',
|
||||||
|
},
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
env.VITE_ANALYZE === 'true' && visualizer({
|
env.VITE_ANALYZE === 'true' &&
|
||||||
open: true,
|
visualizer({
|
||||||
filename: 'rollup-plugin-visualizer/stats.html',
|
open: true,
|
||||||
gzipSize: true,
|
filename: 'rollup-plugin-visualizer/stats.html',
|
||||||
brotliSize: true,
|
gzipSize: true,
|
||||||
}),
|
brotliSize: true,
|
||||||
|
}),
|
||||||
],
|
],
|
||||||
resolve: {
|
resolve: {
|
||||||
tsconfigPaths: true
|
tsconfigPaths: true,
|
||||||
},
|
},
|
||||||
build: {
|
build: {
|
||||||
sourcemap: env.VITE_BUILD_SOURCEMAP === 'true',
|
sourcemap: env.VITE_BUILD_SOURCEMAP === 'true',
|
||||||
|
|||||||
Reference in New Issue
Block a user