We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1368990 commit 3642605Copy full SHA for 3642605
packages/@ngtools/webpack/src/angular_compiler_plugin.ts
@@ -134,9 +134,9 @@ export class AngularCompilerPlugin implements Tapable {
134
if (!this._entryModule) {
135
return undefined;
136
}
137
- const splitted = this._entryModule.split('#');
+ const splitted = this._entryModule.split(/(#[a-zA-Z_]([\w]+))$/);
138
const path = splitted[0];
139
- const className = splitted[1] || 'default';
+ const className = !!splitted[1] ? splitted[1].substring(1) : 'default';
140
return { path, className };
141
142
0 commit comments