This commit is contained in:
33333-33333 2026-06-12 13:48:35 +09:00
commit 6097bac9d5
27 changed files with 1831 additions and 109 deletions

15
scripts/build.mjs Normal file
View file

@ -0,0 +1,15 @@
import { build } from 'esbuild';
import { dirname, resolve } from 'node:path';
import { fileURLToPath } from 'node:url';
const root = resolve(dirname(fileURLToPath(import.meta.url)), '..');
await build({
absWorkingDir: root,
entryPoints: [resolve(root, 'src/game.js')],
bundle: true,
format: 'esm',
target: 'es2020',
minify: true,
outfile: resolve(root, 'dist/game.js')
});