From 0617552956f26c3be9d445dd185ce4e817dcf3f9 Mon Sep 17 00:00:00 2001 From: Hornwitser Date: Mon, 9 Mar 2026 13:54:08 +0100 Subject: [PATCH] Fix circular import breaking --dev mode A circular import caused code to attempt to use symbols before they were defined. Due to the --dev mode on the controller running with different chunck boundaries this only appeared in the --dev mode. --- packages/lib/src/external/FactorioVersions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/lib/src/external/FactorioVersions.ts b/packages/lib/src/external/FactorioVersions.ts index 45125433..0fe9b8c6 100644 --- a/packages/lib/src/external/FactorioVersions.ts +++ b/packages/lib/src/external/FactorioVersions.ts @@ -1,5 +1,5 @@ import { Static, Type } from "@sinclair/typebox"; -import { FullVersionSchema, integerFullVersion, isFullVersion } from "../data"; +import { FullVersionSchema, integerFullVersion, isFullVersion } from "../data/version"; const ARCHIVE_URL = "https://factorio.com/download/archive";