Skip to content
TypeScript
289 B
Raw Blame
import { defineConfig } from "vite";

// Point the SSR build at the worker entry (see `vite-fixture/vite.config.ts`).
export default defineConfig({
  environments: {
    ssr: {
      build: {
        rollupOptions: {
          input: "./src/worker.ts",
        },
      },
    },
  },
});