Skip to content

Commit 7aa8011

Browse files
fix(create-void): bundle pathe into the published CLI
create-void ships a single bundled `dist/index.mjs` and has no runtime `dependencies` — every transitive import has to be listed in `deps.onlyBundle` for tsdown to inline it. Add `pathe` so the build doesn't fail with 'located in node_modules but not included in deps.onlyBundle'.
1 parent 31cdd14 commit 7aa8011

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎packages/create-void/tsdown.config.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ export default defineConfig({
1414
'fast-string-width',
1515
'fast-wrap-ansi',
1616
'sisteransi',
17+
'pathe',
1718
'picocolors',
1819
],
1920
},

0 commit comments

Comments
 (0)