rune
Version:
CLI to upload your games to Rune
18 lines (16 loc) • 575 B
JavaScript
import path from "node:path"
import rune from "rune-sdk/vite"
import { defineConfig } from "vite"
import { qrcode } from "vite-plugin-qrcode"
// https://vitejs.dev/config/
export default defineConfig({
base: "", // Makes paths relative
plugins: [
qrcode(), // only applies in dev mode
rune({
logicPath: path.resolve("./src/logic.js"),
minifyLogic: false, // This flag can be used if your logic reaches the allowed limit. However, it will make it significantly more difficult to detect validation issues
ignoredDependencies: [],
}),
],
})