Function: externalizeDeps()
externalizeDeps(
pkg,extras?): (id) =>boolean
Defined in: index.ts:24
The library-build external matcher: Node builtins (bare and node:-prefixed) plus everything the package declares as a runtime/peer dependency — so the bundle never inlines a consumer-provided module — plus any extras (modules imported LAZILY that must stay out of the bundle even though they are not declared deps, e.g. aiui-util's dev-only vite import).
Parameters
pkg
extras?
string[] = []
Returns
(id) => boolean