chore: configure to use vite / tanstack router with

This commit is contained in:
anatawa12 2025-03-07 00:25:45 +09:00
commit 69d9e8ea33
No known key found for this signature in database
GPG key ID: 9CA909848B8E4EA6
4 changed files with 10 additions and 5 deletions

View file

@ -25,6 +25,7 @@
/*.ts
/*.tsx
/*.json
/index.html
# documentation
/*.md

View file

@ -2,7 +2,6 @@
<html lang="en">
<head>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>ALCOM / vrc-get-gui</title>
<script src="vrc-get://localhost/global-info.js"></script>
<script src="http://vrc-get.localhost/global-info.js"></script>

View file

@ -6,12 +6,11 @@
"scripts": {
"tauri": "npm install && tauri",
"biome": "npm ci && biome",
"dev": "next dev -p 3030",
"build": "npm install && npm run build:licenses && npm run build:next",
"build:next": "next build",
"dev": "vite",
"build": "npm install && npm run build:licenses && npm run build:vite",
"build:vite": "vite build",
"build:licenses": "node ./scripts/build-license-json.mjs",
"format": "biome format",
"start": "next start",
"check": "biome check",
"lint": "biome lint"
},

View file

@ -27,5 +27,11 @@ export default defineConfig({
},
build: {
outDir: "out",
chunkSizeWarningLimit: Number.POSITIVE_INFINITY,
},
server: {
port: 3030,
strictPort: true,
},
clearScreen: false,
});