Skip to content

Commit 2e95cd3

Browse files
committedApr 2, 2024··
fix: update tsdoc for external
1 parent 6b540be commit 2e95cd3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
 

‎src/node/core/config/types.ts

+4
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,10 @@ export interface PkgConfigOptions {
9393
}
9494
/**
9595
* Packages to exclude from bundles.
96+
* Provide an array to merge with default exclusions, use a function to replace them:
97+
* ```
98+
* exclude: (prev) => prev.filter(package => package !== 'foo')
99+
* ```
96100
*/
97101
external?: PkgConfigProperty<string[]>
98102
/**

0 commit comments

Comments
 (0)
Please sign in to comment.