fix: only enable dev things in dev mode (#1789)
This commit is contained in:
@@ -9,3 +9,8 @@ export const DEBUG = !Deno.env.get("DENO_DEPLOYMENT_ID");
|
||||
export function bundleAssetUrl(path: string) {
|
||||
return `${INTERNAL_PREFIX}${JS_PREFIX}/${BUILD_ID}${path}`;
|
||||
}
|
||||
|
||||
export let DEV_MODE = false;
|
||||
export function setDevMode(value: boolean) {
|
||||
DEV_MODE = value;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user