You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
458 B
15 lines
458 B
import { defineConfig } from 'vite'
|
|
import react from '@vitejs/plugin-react'
|
|
import viteTsconfigPaths from 'vite-tsconfig-paths'
|
|
|
|
export default defineConfig({
|
|
// depending on your application, base can also be "/"
|
|
base: '/',
|
|
plugins: [react(), viteTsconfigPaths()],
|
|
server: {
|
|
// this ensures that the browser opens upon server start
|
|
open: true,
|
|
// this sets a default port to 3000
|
|
port: 3000,
|
|
},
|
|
}) |