From 9a3eb3df9ef45239ca1a5e14131eef443d88cb26 Mon Sep 17 00:00:00 2001 From: Brandon Jordan Date: Mon, 3 Jun 2024 13:51:47 -0400 Subject: [PATCH] Correct dev detect --- src/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.ts b/src/main.ts index b1b0e74..0238f9e 100644 --- a/src/main.ts +++ b/src/main.ts @@ -16,7 +16,7 @@ export let container: HTMLElement; export let containers: HTMLElement[] = []; export let containerIndex: number = 0; -export const dev = process.env.NODE_ENV ?? import.meta.env.DEV ?? false; +export const dev = import.meta.env.DEV ?? false; export function resetContainers() { containers = [];