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.
Ruby b2b-commercee-commerceecommerceecommerce-apiecommerce-frameworkecommerce-platformheadlessheadless-commerceheadless-ecommercemarketplacemulti-tenantmulti-vendormulti-vendor-ecommerceopen-sourcespree-commerce
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()],
})