diff --git a/src/lib/store/ship.ts b/src/lib/store/ship.ts index 1fc8f0e..2cf8951 100644 --- a/src/lib/store/ship.ts +++ b/src/lib/store/ship.ts @@ -18,7 +18,9 @@ import { fireconsDux } from "./ship/weaponry/firecons"; import { adfcDux } from "./ship/weaponry/adfc"; import { weaponsDux } from "./ship/weaponry/weapons"; -process.env.UPDEEP_MODE = "dangerously_never_freeze"; +if (typeof process !== "undefined") { + process.env.UPDEEP_MODE = "dangerously_never_freeze"; +} const structure = new Updux({ initialState: {}, diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index 8830a2f..b6d78ab 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -1,5 +1,14 @@ - +