Files
VoiceRSSSummary/frontend/vite.config.ts

17 lines
361 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
export default defineConfig({
plugins: [react()],
server: {
port: 3000,
},
build: {
outDir: "dist",
rollupOptions: {
input: "index.html",
},
},
root: process.cwd(), // 現在の作業ディレクトリfrontendをルートとして明示
});