From 14f4e9346c375a3b1490ec06bd5ea30cf6599e7e Mon Sep 17 00:00:00 2001 From: Brenley Dueck Date: Wed, 27 Aug 2025 16:22:30 -0500 Subject: [PATCH] devinxi patch --- src/index.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/index.ts b/src/index.ts index 4215a51..c6ec8ce 100644 --- a/src/index.ts +++ b/src/index.ts @@ -301,6 +301,9 @@ export default function solidPlugin(options: Partial = {}): Plugin { ...(isTestMode && !opts.isSsrTargetWebworker ? ['browser'] : []), ...config.resolve.conditions, ]; + config.resolve.externalConditions ??= []; + config.resolve.externalConditions.push("solid"); + config.resolve.externalConditions.push("node"); }, configResolved(config) {