mirror of
https://github.com/balzack/databag.git
synced 2025-04-25 19:15:23 +00:00
20 lines
376 B
TypeScript
20 lines
376 B
TypeScript
import { defineConfig } from 'vite'
|
|
import react from '@vitejs/plugin-react'
|
|
import tsConfigPaths from 'vite-tsconfig-paths'
|
|
import svgrPlugin from 'vite-plugin-svgr'
|
|
|
|
// https://vitejs.dev/config/
|
|
export default defineConfig(() => ({
|
|
plugins: [
|
|
react(),
|
|
tsConfigPaths(),
|
|
svgrPlugin(),
|
|
],
|
|
server: {
|
|
port: 3000,
|
|
},
|
|
preview: {
|
|
port: 8080,
|
|
},
|
|
}))
|