Skip to content

Commit 9103274

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

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 (!result.endsWith('*')) {
50+
if (!picomatch.isGlob(result)) {
5151
result += '/**';
5252
}
5353

0 commit comments

Comments
 (0)