feat: migrate to vite and hono
This commit is contained in:
		@@ -1,8 +0,0 @@
 | 
			
		||||
/** @type {import('next').NextConfig} */
 | 
			
		||||
const nextConfig = {
 | 
			
		||||
  reactStrictMode: true,
 | 
			
		||||
  // 他のカスタム設定をここに追加
 | 
			
		||||
  output: 'standalone',
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
export default nextConfig;
 | 
			
		||||
@@ -1,5 +1,3 @@
 | 
			
		||||
"use client";
 | 
			
		||||
 | 
			
		||||
import "./globals.css";
 | 
			
		||||
 | 
			
		||||
export default function RootLayout({
 | 
			
		||||
 
 | 
			
		||||
@@ -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: [],
 | 
			
		||||
    },
 | 
			
		||||
  },
 | 
			
		||||
});
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user