chore: initial commit of foundryvtt-admin

Spun out of the hbm-books working folder into its own repo. A small
backend+frontend+COBOL admin tool for managing Foundry VTT worlds
(socket inspection, join/shutdown debugging).
This commit is contained in:
2026-08-17 21:46:42 +02:00
commit 460d136d21
28 changed files with 2494 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
import { defineConfig } from 'vite';
import tailwindcss from '@tailwindcss/vite';
import pug from 'pug';
export default defineConfig({
plugins: [
tailwindcss(),
{
name: 'vite-plugin-pug',
transform(src, id) {
if (id.endsWith('.pug')) {
const html = pug.compile(src)();
return {
code: `export default ${JSON.stringify(html)};`,
map: null
};
}
}
}
],
server: {
port: 5173,
host: true
}
});