snapshot of https://github.com/marmelab/atomic-crm.git (main, 2026-09-18; blobs > 131072B omitted)
Some checks failed
✅ Check / 🔬 ESLint (push) Failing after 21s
✅ Check / 🏷️ Typecheck (push) Failing after 11s
✅ Check / 🔎 Test (push) Failing after 11s
✅ Check / e2e-test (push) Failing after 11s
✅ Check / 🔨 Build (push) Failing after 11s
🚀 Deploy / 🚀 Deploy (doc) (push) Failing after 12s
🚀 Deploy / 🚀 Deploy (demo) (push) Failing after 12s
🚀 Deploy / 🚀 Deploy (supabase) (push) Failing after 18s
Some checks failed
✅ Check / 🔬 ESLint (push) Failing after 21s
✅ Check / 🏷️ Typecheck (push) Failing after 11s
✅ Check / 🔎 Test (push) Failing after 11s
✅ Check / e2e-test (push) Failing after 11s
✅ Check / 🔨 Build (push) Failing after 11s
🚀 Deploy / 🚀 Deploy (doc) (push) Failing after 12s
🚀 Deploy / 🚀 Deploy (demo) (push) Failing after 12s
🚀 Deploy / 🚀 Deploy (supabase) (push) Failing after 18s
This commit is contained in:
52
vite.demo.config.ts
Normal file
52
vite.demo.config.ts
Normal file
@@ -0,0 +1,52 @@
|
||||
import tailwindcss from "@tailwindcss/vite";
|
||||
import react from "@vitejs/plugin-react";
|
||||
import path from "node:path";
|
||||
import { visualizer } from "rollup-plugin-visualizer";
|
||||
import { defineConfig } from "vite";
|
||||
import createHtmlPlugin from "vite-plugin-simple-html";
|
||||
|
||||
// https://vitejs.dev/config/
|
||||
export default defineConfig({
|
||||
server: {
|
||||
port: 5174,
|
||||
host: true,
|
||||
},
|
||||
plugins: [
|
||||
react(),
|
||||
tailwindcss(),
|
||||
visualizer({
|
||||
open: process.env.NODE_ENV !== "CI",
|
||||
filename: "./dist/stats.html",
|
||||
}),
|
||||
createHtmlPlugin({
|
||||
minify: true,
|
||||
inject: {
|
||||
data: {
|
||||
mainScript: `demo/main.tsx`,
|
||||
},
|
||||
},
|
||||
}),
|
||||
],
|
||||
define: {
|
||||
"import.meta.env.VITE_IS_DEMO": JSON.stringify("true"),
|
||||
"import.meta.env.VITE_SUPABASE_URL": JSON.stringify(
|
||||
process.env.VITE_SUPABASE_URL ?? "https://demo.example.org",
|
||||
),
|
||||
"import.meta.env.VITE_SB_PUBLISHABLE_KEY": JSON.stringify(
|
||||
process.env.VITE_SB_PUBLISHABLE_KEY ?? "https://demo.example.org",
|
||||
),
|
||||
},
|
||||
base: "./",
|
||||
esbuild: {
|
||||
keepNames: true,
|
||||
},
|
||||
build: {
|
||||
sourcemap: true,
|
||||
},
|
||||
resolve: {
|
||||
preserveSymlinks: true,
|
||||
alias: {
|
||||
"@": path.resolve(__dirname, "./src"),
|
||||
},
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user