mirror of
https://github.com/supabase/supabase.git
synced 2026-06-21 04:46:08 +08:00
The examples folder needs to be explicitly included in the Vercel Serverless bundle. Because it's at the root of the monorepo rather than being within the `app/docs` folder, we copy it over pre-build (and pre-dev). Test the examples/prompts fix by re-enabling revalidations on graphql pages. Added a temp version of the fetch function so we can gradually reenable and monitor Vercel error rates over time.
10 lines
255 B
TypeScript
10 lines
255 B
TypeScript
import { defineConfig } from 'vitest/config'
|
|
import tsconfigPaths from 'vite-tsconfig-paths'
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
exclude: ['examples/**/*', '**/node_modules/**'],
|
|
},
|
|
plugins: [tsconfigPaths({ root: import.meta.dirname })],
|
|
})
|