Initial commit for Deployer App
This commit is contained in:
20
vite.config.ts
Normal file
20
vite.config.ts
Normal file
@ -0,0 +1,20 @@
|
||||
import { defineConfig } from 'vite'
|
||||
import react from '@vitejs/plugin-react'
|
||||
import tailwindcss from '@tailwindcss/vite';
|
||||
import svgr from "vite-plugin-svgr";
|
||||
|
||||
// https://vite.dev/config/
|
||||
export default defineConfig({
|
||||
plugins: [
|
||||
react(),
|
||||
tailwindcss(),
|
||||
svgr({
|
||||
svgrOptions: {
|
||||
icon: true,
|
||||
// This will transform your SVG to a React component
|
||||
exportType: "named",
|
||||
namedExport: "ReactComponent",
|
||||
},
|
||||
})
|
||||
],
|
||||
})
|
||||
Reference in New Issue
Block a user