resource 위치 변경

This commit is contained in:
2026-01-05 16:12:55 +00:00
parent 10e9c80eb4
commit f4bc8e42f3
102 changed files with 7 additions and 4 deletions
+2 -1
View File
@@ -6,7 +6,8 @@ import type { MapDefinition } from '@sammo-ts/logic';
const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);
const DEFAULT_MAP_ROOT = path.resolve(__dirname, '..', '..', 'resources', 'map');
const REPO_ROOT = path.resolve(__dirname, '..', '..', '..', '..');
const DEFAULT_MAP_ROOT = path.resolve(REPO_ROOT, 'resources', 'map');
export interface MapLoaderOptions {
mapRoot?: string;