Skip to content

Commit 37cfaf4

Browse files
committed
chore(tsdown): migrate from noExternal to deps.alwaysBundle
- Replace function-based noExternal config with deps.alwaysBundle array - Use regex patterns for more explicit @marcode/* and effect-acp matching - Maintains current bundling behavior with updated tsdown API
1 parent e08f2cb commit 37cfaf4

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

apps/server/tsdown.config.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ export default defineConfig({
99
outDir: "dist",
1010
sourcemap: true,
1111
clean: true,
12-
noExternal: (id) => id.startsWith("@marcode/") || id.startsWith("effect-acp"),
12+
deps: {
13+
alwaysBundle: [/^@marcode\//, /^effect-acp(\/|$)/],
14+
},
1315
inlineOnly: false,
1416
banner: {
1517
js: "#!/usr/bin/env node\n",

0 commit comments

Comments
 (0)