style: 관리자 모드(Map Editor) CSS 누락 해결 및 Vite 멀티페이지 빌드 구성 추가

This commit is contained in:
2026-06-19 13:43:52 +09:00
parent c6515c1b5d
commit c56a81d433
2 changed files with 12 additions and 1 deletions

View File

@@ -5,8 +5,10 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>ITAM Map Coordinate Editor v3.0</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable.min.css" />
<link rel="stylesheet" href="/src/styles/common.css" />
<link rel="stylesheet" href="/src/styles/map-editor.css" />
</head>
<body style="margin: 0; display: flex; height: 100vh; overflow: hidden; font-family: sans-serif;">
<body style="margin: 0; display: flex; height: 100vh; overflow: hidden;">
<!-- Left: File Selector -->
<div class="file-sidebar" id="file-sidebar">

View File

@@ -1,4 +1,5 @@
import { defineConfig } from 'vite';
import { resolve } from 'path';
export default defineConfig({
server: {
@@ -15,4 +16,12 @@ export default defineConfig({
}
}
},
build: {
rollupOptions: {
input: {
main: resolve(__dirname, 'index.html'),
map_editor: resolve(__dirname, 'map_editor.html'),
}
}
}
});