Skip to content

armgit / spree

Public Imported from GitHub
0

Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it. Own your data. No vendor lock-in. Zero platform fees.

609 B
Raw Blame
import react from '@vitejs/plugin-react'
import { defineConfig } from 'vite'
// Self-import of the shell's own Vite integration — the same composition
// hosts get from `@spree/seller-dashboard/vite`. It wraps the TanStack Router
// generator, so the shell's committed routeTree.gen.ts is produced by the
// exact machinery hosts use, which is what makes the shell's own routes
// typecheck against the tree they compose into.
import { spreeSellerDashboardPlugin } from './src/vite/index.ts'

export default defineConfig({
  plugins: [spreeSellerDashboardPlugin({ root: import.meta.dirname }), react()],
})