Skip to content

Commit 14f4e93

Browse files
committed
devinxi patch
1 parent 904b25b commit 14f4e93

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎src/index.ts‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -301,6 +301,9 @@ export default function solidPlugin(options: Partial<Options> = {}): Plugin {
301301
...(isTestMode && !opts.isSsrTargetWebworker ? ['browser'] : []),
302302
...config.resolve.conditions,
303303
];
304+
config.resolve.externalConditions ??= [];
305+
config.resolve.externalConditions.push("solid");
306+
config.resolve.externalConditions.push("node");
304307
},
305308

306309
configResolved(config) {

0 commit comments

Comments
 (0)