Skip to content

Commit

Permalink
Correct dev detect
Browse files Browse the repository at this point in the history
  • Loading branch information
electrikmilk committed Jun 3, 2024
1 parent e7fde20 commit 9a3eb3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [];
Expand Down

0 comments on commit 9a3eb3d

Please sign in to comment.