Initialize the repository with the core Go backend architecture and a frontend mockup for warpbox.dev, a self-hosted file-sharing application. - Set up Go backend modules for configuration, HTTP server, middleware, handlers, and templates. - Add local development scripts, environment templates, and basic project configuration. - Include a React-based frontend mockup under the docs directory.
16 lines
823 B
TypeScript
16 lines
823 B
TypeScript
// @lovable.dev/vite-tanstack-config already includes the following — do NOT add them manually
|
|
// or the app will break with duplicate plugins:
|
|
// - tanstackStart, viteReact, tailwindcss, tsConfigPaths, cloudflare (build-only),
|
|
// componentTagger (dev-only), VITE_* env injection, @ path alias, React/TanStack dedupe,
|
|
// error logger plugins, and sandbox detection (port/host/strictPort).
|
|
// You can pass additional config via defineConfig({ vite: { ... } }) if needed.
|
|
import { defineConfig } from "@lovable.dev/vite-tanstack-config";
|
|
|
|
// Redirect TanStack Start's bundled server entry to src/server.ts (our SSR error wrapper).
|
|
// @cloudflare/vite-plugin builds from this — wrangler.jsonc main alone is insufficient.
|
|
export default defineConfig({
|
|
tanstackStart: {
|
|
server: { entry: "server" },
|
|
},
|
|
});
|