github-actions
released this
17 Jan 12:48
·
7 commits
to main
since this release
Patch Changes
-
70f224a: Initial release of Vite plugin for MUD projects.
This will soon be included by default in MUD templates, but you can add to an existing MUD project with:
pnpm add -D vite@^6 vite-plugin-mud
And use like:
// vite.config.ts import { defineConfig } from "vite"; import { mud } from "vite-plugin-mud"; export default defineConfig({ plugins: [mud({ worldsFile: "worlds.json" })], });
// tsconfig.json { "compilerOptions": { "types": ["vite/client", "vite-plugin-mud/env"] } }