Skip to content

Commit 2073ac9

Browse files
committed
externalize modules that rely on dynamic require so they aren’t bundled
1 parent 22ab9e9 commit 2073ac9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

server/tsup.config.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ export default defineConfig({
2525
"zod-to-json-schema",
2626
"clsx",
2727
"tailwind-merge",
28+
// Keep environment PATH fixers external (these may use CJS internals and dynamic requires)
29+
"fix-path",
30+
"shell-path",
31+
"execa",
2832
],
2933
noExternal: [
3034
// Force bundling of problematic packages

0 commit comments

Comments
 (0)