feat: 🚀 😃 convert repo into a monorepo 🚀 😃 (#51)

* Merge main into turbo-monrepo

* feat: rename apps

* feat: remove supbase videos and serve all from project

* feat: move supabase to root

* feat: update README

* docs: update link
This commit is contained in:
Rotimi Best
2023-11-25 21:56:02 +00:00
committed by GitHub
parent 03ca379094
commit 41e29014ef
806 changed files with 85853 additions and 5746 deletions
+27
View File
@@ -0,0 +1,27 @@
import { sentryVitePlugin } from '@sentry/vite-plugin';
import { sveltekit } from '@sveltejs/kit/vite';
import { defineConfig, loadEnv } from 'vite';
export default ({ mode }) => {
process.env = { ...process.env, ...loadEnv(mode, process.cwd()) };
const { VITE_SENTRY_AUTH_TOKEN, VITE_SENTRY_ORG_NAME, VITE_SENTRY_PROJECT_NAME } = process.env;
return defineConfig({
plugins: [
sveltekit(),
sentryVitePlugin(
VITE_SENTRY_AUTH_TOKEN
? {
url: 'https://sentry.io',
authToken: VITE_SENTRY_AUTH_TOKEN,
org: VITE_SENTRY_ORG_NAME,
project: VITE_SENTRY_PROJECT_NAME
}
: {}
)
],
build: {
sourcemap: true
}
});
};