You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(@angular/build): support patterns in library entryPoints
A key and its entry file path in `entryPoints` can each contain one `*`,
as with subpath patterns in package.json `exports`. For example
`"./*": "projects/lib/*/public-api.ts"` adds an entry point for every
matching file, with the matched part of the path, which can include `/`,
used in the key.
Explicit entry points take precedence over a pattern match with the same
name or the same entry file, and a pattern that matches no files is an
error. Patterns are expanded when the build starts.
Copy file name to clipboardExpand all lines: packages/angular/build/src/builders/library/schema.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@
6
6
"properties": {
7
7
"entryPoints": {
8
8
"type": "object",
9
-
"description": "Map of package entry points. The '.' key represents the primary entry point; other keys define secondary subpath entry points.",
9
+
"description": "Map of package entry points. The '.' key represents the primary entry point; other keys define secondary subpath entry points. A key and its entry file path can each contain one '*' (e.g. './*': 'projects/lib/*/public-api.ts') to add an entry point for every matching file, as with subpath patterns in package.json 'exports'. Patterns are expanded when the build starts.",
0 commit comments