From 0a70312a25d8eb3e4cef6715902f74bbf89eba04 Mon Sep 17 00:00:00 2001 From: harlan Date: Sun, 29 Sep 2024 18:25:14 +1000 Subject: [PATCH] fix: ignore `importx` warnings Maybe fixes #218 --- packages/core/src/unlighthouse.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/core/src/unlighthouse.ts b/packages/core/src/unlighthouse.ts index 2792036..36be458 100644 --- a/packages/core/src/unlighthouse.ts +++ b/packages/core/src/unlighthouse.ts @@ -67,6 +67,9 @@ export async function createUnlighthouse(userConfig: UserConfig, provider?: Prov // support loading configuration files const configDefinition = await loadConfig({ cwd: userConfig.root, + importx: { + ignoreImportxWarning: true, + }, sources: [ { files: [