wip vite lib, typst markup

This commit is contained in:
2026-07-07 22:49:09 -04:00
parent a787981f57
commit e4a3bd0ce2
8 changed files with 71 additions and 55 deletions

View File

@@ -1,3 +1,13 @@
export default {
base: "/secret-knowledge/",
}
import {dirname, resolve} from 'node:path'
import {defineConfig} from 'vite'
export default defineConfig({
build: {
lib: {
entry: resolve(import.meta.dirname, 'src/lib.js'),
name: 'mc-diorama',
fileName: 'mc-diorama',
formats: ['es']
}
}
});