feat: migrate to vite and hono

This commit is contained in:
2025-06-04 11:46:50 +09:00
committed by Satsuki Akiba (aider)
parent 80d48a1f8c
commit ac8dd91b7f
8 changed files with 192 additions and 111 deletions

View File

@ -1,8 +0,0 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
// 他のカスタム設定をここに追加
output: 'standalone',
};
export default nextConfig;

View File

@ -1,5 +1,3 @@
"use client";
import "./globals.css";
export default function RootLayout({

View File

@ -2,22 +2,9 @@ import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
export default defineConfig({
root: '.', // プロジェクトルートを明示
root: ".", // プロジェクトルートを明示
plugins: [react()],
server: {
port: 3000,
optimizeDeps: {
include: ["react/jsx-runtime"], // JSXランタイムを明示的に解決
},
},
build: {
outDir: "dist",
rollupOptions: {
input: "index.html",
},
// モジュール解決を明示
commonjsOptions: {
include: [],
},
},
});