Skip to content

Commit e6ba05b

Browse files
committed
fix(@angular-devkit/build-webpack): also split on multi modules and spaces
Its not perfect but it will give a better overview of the file and it is shorter.
1 parent 0cb7092 commit e6ba05b

File tree

1 file changed

+1
-1
lines changed
  • packages/angular_devkit/build_webpack/src/plugins

1 file changed

+1
-1
lines changed

packages/angular_devkit/build_webpack/src/plugins/architect.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ export class ArchitectPlugin {
100100
// This is safe since we still verify it.
101101
const m = module as unknown as { identifier?: () => string };
102102
const moduleId = '' + (typeof m.identifier == 'function' ? m.identifier() : '');
103-
const id = moduleId.split('!').slice(-1)[0].trim();
103+
const id = moduleId.split(/!|\s+|\bmulti\b/).slice(-1)[0].trim();
104104
const p = path.relative(context.workspaceRoot, id);
105105

106106
update(`Building ${p}`);

0 commit comments

Comments
 (0)