mirror of
https://github.com/prymitive/karma
synced 2026-02-13 20:59:53 +00:00
17 lines
364 B
TypeScript
17 lines
364 B
TypeScript
import { defineConfig } from "vite";
|
|
import react from "@vitejs/plugin-react";
|
|
import viteTsconfigPaths from "vite-tsconfig-paths";
|
|
import legacy from "@vitejs/plugin-legacy";
|
|
|
|
export default defineConfig({
|
|
base: "./",
|
|
plugins: [react(), viteTsconfigPaths(), legacy()],
|
|
server: {
|
|
open: true,
|
|
port: 3000,
|
|
},
|
|
build: {
|
|
sourcemap: true,
|
|
},
|
|
});
|