Pagespackages/vite/README.md

@arachnejs/vite

Bundler plugins that compile .tsx / .jsx through @arachnejs/jsx into @arachnejs/render calls (ADR 0011).

Bun #

import { bunPlugin } from "@arachnejs/vite";

await Bun.build({
  entrypoints: ["./app.tsx"],
  plugins: [bunPlugin()],
});

Vite #

import { defineConfig } from "vite";
import { vitePlugin } from "@arachnejs/vite";

export default defineConfig({
  plugins: [vitePlugin()],
});