17 lines
313 B
TypeScript
17 lines
313 B
TypeScript
import { defineConfig } from "vite";
|
|
import react from "@vitejs/plugin-react";
|
|
|
|
export default defineConfig({
|
|
root: '.', // プロジェクトルートを明示
|
|
plugins: [react()],
|
|
server: {
|
|
port: 3000,
|
|
},
|
|
build: {
|
|
outDir: "dist",
|
|
rollupOptions: {
|
|
input: "index.html",
|
|
},
|
|
},
|
|
});
|