feat: initialize warpbox.dev project structure and backend
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.
This commit is contained in:
15
docs/Mock-Up/Mockup Magic/vite.config.ts
Normal file
15
docs/Mock-Up/Mockup Magic/vite.config.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
// @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" },
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user