mirror of
https://github.com/PeWu/topola-viewer.git
synced 2025-12-23 18:50:04 +00:00
16 lines
427 B
TypeScript
16 lines
427 B
TypeScript
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,
|
|
},
|
|
});
|