This commit is contained in:
Tickbase
2025-05-18 16:09:24 +02:00
parent 07384e30cc
commit 4b70cec6e9
62 changed files with 3597 additions and 211 deletions

View File

@@ -1,6 +1,7 @@
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
import path from 'path'
import svgr from "vite-plugin-svgr";
// https://vitejs.dev/config/
export default defineConfig({
@@ -10,7 +11,19 @@ export default defineConfig({
},
},
plugins: [react()],
plugins: [
react(),
svgr({
svgrOptions: {
// SVGR options go here
icon: true,
dimensions: false,
titleProp: true,
exportType: 'named',
},
include: '**/*.svg',
}),
],
clearScreen: false,
server: {
@@ -23,4 +36,4 @@ export default defineConfig({
minify: 'esbuild',
sourcemap: true,
},
})
})