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:
@@ -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
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user