mirror of
https://github.com/nicotsx/zerobyte.git
synced 2026-04-19 06:18:12 -04:00
* docs: init project docs: design content header sticky docs: content docs: update starting guide docs: corrections docs: oidc, sso & more feat: landing page style: card design style: colors style: zerobyte logo style: corner content style: docs cards ci(docs): auto deploy to cloudflare docs: 3-2-1 strategy * fix: anchor links * style: refactor landing hero * feat: og * chore: fix ci * ci: build docs before publishing
29 lines
726 B
TypeScript
29 lines
726 B
TypeScript
import { defineConfig } from "vite";
|
|
import { devtools } from "@tanstack/devtools-vite";
|
|
import tsconfigPaths from "vite-tsconfig-paths";
|
|
|
|
import { tanstackStart } from "@tanstack/react-start/plugin/vite";
|
|
import { cloudflare } from "@cloudflare/vite-plugin";
|
|
|
|
import viteReact from "@vitejs/plugin-react";
|
|
import tailwindcss from "@tailwindcss/vite";
|
|
import mdx from "fumadocs-mdx/vite";
|
|
import * as MdxConfig from "./source.config";
|
|
|
|
const config = defineConfig({
|
|
server: {
|
|
port: 4000,
|
|
},
|
|
plugins: [
|
|
mdx(MdxConfig),
|
|
devtools(),
|
|
tsconfigPaths({ projects: ["./tsconfig.json"] }),
|
|
tailwindcss(),
|
|
cloudflare({ viteEnvironment: { name: "ssr" } }),
|
|
tanstackStart(),
|
|
viteReact(),
|
|
],
|
|
});
|
|
|
|
export default config;
|