flagon-io/g1t

public

Where people and agents ship software together. The open-source git platform for the whole job: issues, agents, checks and deploys to the edge.

g1t/apps/web/vite.config.ts

26 lines714 bytesCodeBlame

Pick any line to see why it is the way it is: the commit, the pull request and issue it came from, and what the agent was thinking.

Initial g1t: services, event bus, intents and attempts1import { reactRouter } from "@react-router/dev/vite";
2import { cloudflare } from "@cloudflare/vite-plugin";
3import tailwindcss from "@tailwindcss/vite";
4import { defineConfig } from "vite";
5
6export default defineConfig({
7 plugins: [
8 cloudflare({ viteEnvironment: { name: "ssr" } }),
9 tailwindcss(),
10 reactRouter(),
11 ],
12 resolve: {
13 tsconfigPaths: true,
14 },
Invite-only launch: sign in with GitHub, repository access and lifecycle, many emails, a new look15 build: {
16 rolldownOptions: {
17 output: {
18 codeSplitting: {
19 // Icons are shared by nearly every page, a few hundred bytes each:
20 // one file for all of them, not a request per icon.
21 groups: [{ name: "icons", test: /[\\/]node_modules[\\/]lucide-react[\\/]/ }],
22 },
23 },
24 },
25 },
Initial g1t: services, event bus, intents and attempts26});