sailfork / t3code-github / .repos/ alchemy-effect/ demos/ effect-prezzy/ intro/ snippets/ anywhere/ WebNeon.ts
import * as Neon from "@alchemy.run/neon";
import * as Effect from "effect/Effect";
import Api from "./ApiWorker.ts";
// #region show
export const Web = Effect.gen(function* () {
const api = yield* Api;
return yield* Neon.Website.Astro("Web", {
rootDir: "./apps/web",
env: { API_URL: api.url.as<string>() },
});
});
// #endregion show