mirror of
https://github.com/shishantbiswas/bknd.git
synced 2026-03-16 04:27:21 +00:00
fix __isDev regression because of new vite static build
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
"type": "module",
|
||||
"sideEffects": false,
|
||||
"bin": "./dist/cli/index.js",
|
||||
"version": "0.6.0-rc.10",
|
||||
"version": "0.6.0-rc.11",
|
||||
"description": "Lightweight Firebase/Supabase alternative built to run anywhere — incl. Next.js, Remix, Astro, Cloudflare, Bun, Node, AWS Lambda & more.",
|
||||
"homepage": "https://bknd.io",
|
||||
"repository": {
|
||||
|
||||
@@ -7,7 +7,7 @@ import { devServerConfig } from "./src/adapter/vite/dev-server-config";
|
||||
// https://vitejs.dev/config/
|
||||
export default defineConfig({
|
||||
define: {
|
||||
__isDev: "1"
|
||||
__isDev: process.env.NODE_ENV === "production" ? "0" : "1"
|
||||
},
|
||||
clearScreen: false,
|
||||
publicDir: "./src/ui/assets",
|
||||
|
||||
Reference in New Issue
Block a user