mirror of
https://github.com/Novattz/creamlinux-installer.git
synced 2026-01-24 20:32:51 -05:00
Icons
This commit is contained in:
@@ -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,
|
||||
},
|
||||
})
|
||||
})
|
||||
Reference in New Issue
Block a user