Skip to content

Commit f016e0a

Browse files
committed
fixup! fix(@angular/build): align library watch asset matching with initial build and deduplicate outputs
1 parent 9103274 commit f016e0a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • packages/angular/build/src/builders/library/pipeline

‎packages/angular/build/src/builders/library/pipeline/assets.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export interface AssetMatcher {
4747
*/
4848
function normalizeGlobPattern(pattern: string): string {
4949
let result = pattern.endsWith('/') ? pattern.slice(0, -1) : pattern;
50-
if (!picomatch.isGlob(result)) {
50+
if (pattern.endsWith('/') || !picomatch.scan(result).isGlob) {
5151
result += '/**';
5252
}
5353

0 commit comments

Comments
 (0)