mirror of
https://github.com/shishantbiswas/bknd.git
synced 2026-03-17 12:56:05 +00:00
fix __isDev regression because of new vite static build
This commit is contained in:
@@ -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