fix(cli): resolve runtime config import absolutely
Quality / quality (ubuntu-latest) (push) Failing after 9m54s
Quality / quality (windows-latest) (push) Canceled after 0s

This commit is contained in:
Clintchiz committed 2026-08-23 09:29:26 +05:30
1 parent 9377a69d88
commit 8fb96f521f
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -707,7 +707,7 @@ applyAuthzManifestEarly([${authzSetupEntries}]);
// process runs in a different process, so its globals cannot serve the
// generated production server.
const runtimeConfigPath = ["wrnexus.config.ts", "wrnexus.config.js", "wrnexus.config.mjs"]
.map((name) => join(appRoot, name))
.map((name) => resolve(appRoot, name))
.find(existsSync);
if (runtimeConfigPath) imports.push(`import ${JSON.stringify(fwd(runtimeConfigPath))};`);