martin/demo/frontend/vite.config.ts

19 lines
388 B
TypeScript
Raw Normal View History

import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
2023-05-30 03:12:22 +03:00
import mkcert from 'vite-plugin-mkcert'
import viteTsConfigPaths from 'vite-tsconfig-paths'
2023-05-30 03:12:22 +03:00
export default defineConfig({
plugins: [
react(),
viteTsConfigPaths({
root: './',
}),
mkcert(),
],
2023-05-30 03:12:22 +03:00
build: {
target: 'esnext',
},
server: { https: false, host: true, port: 8080 },
})