refactor: add samples to export & use inline-schema's esbuild plugin

This commit is contained in:
2026-04-07 11:37:05 +08:00
parent 83658c9898
commit a84aa2426b
4 changed files with 56 additions and 4 deletions
+3 -4
View File
@@ -1,7 +1,6 @@
import {
createGameCommandRegistry, Part, createRegion,
IGameContext, createPromptDef
} from '@/index';
import {Part} from "boardgame-core";
import {createRegion} from "boardgame-core";
import {createGameCommandRegistry, createPromptDef, IGameContext} from "boardgame-core";
const BOARD_SIZE = 3;
const MAX_TURNS = BOARD_SIZE * BOARD_SIZE;