fix: __FRSH_BUILD_ID is not defined (#1207)
This could happen if the runtime/utils.ts coe was loaded prior to server/constants.ts, because they had some shared state on `globalThis`. I have mitigated this by not relying on global state anymore. Fixes #1191 --------- Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
This commit is contained in:
co-authored by
Asher Gomez
parent
675036b33c
commit
87b087e358
@@ -12,7 +12,8 @@ import { h } from "preact";
|
||||
import * as router from "./router.ts";
|
||||
import { Manifest } from "./mod.ts";
|
||||
import { Bundler, JSXConfig } from "./bundle.ts";
|
||||
import { ALIVE_URL, BUILD_ID, JS_PREFIX, REFRESH_JS_URL } from "./constants.ts";
|
||||
import { ALIVE_URL, JS_PREFIX, REFRESH_JS_URL } from "./constants.ts";
|
||||
import { BUILD_ID } from "./build_id.ts";
|
||||
import DefaultErrorHandler from "./default_error_page.ts";
|
||||
import {
|
||||
AppModule,
|
||||
|
||||
Reference in New Issue
Block a user