import path from "node:path";
import { vitePluginEditframe } from "@editframe/vite-plugin";
import { defineConfig } from "rolldown-vite";
import { viteSingleFile } from "vite-plugin-singlefile";

export default defineConfig({
  plugins: [
    vitePluginEditframe({
      root: path.join(__dirname, "src"),
      cacheRoot: path.join(__dirname, "src", "assets"),
    }),
    viteSingleFile(),
  ],
});
