sailfork / t3code-github / .repos/ alchemy-effect/ packages/ integration-tests/ test/ Cloudflare/ Website/ vite-child-fixture/ vite.config.ts

import { defineConfig } from "vite";

export default defineConfig({
  plugins: [
    {
      name: "report-process-cwd",
      transformIndexHtml(html) {
        return html.replace(
          "</head>",
          `<meta name="vite-process-cwd" content="${process.cwd()}"></head>`,
        );
      },
    },
  ],
});