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 f79318a commit ba5ce18Copy full SHA for ba5ce18
atmosphere-packages/angular-typescript-compiler/index.js
@@ -31,7 +31,7 @@ import {
31
32
const TEMPLATE_URL_REGEX = /templateUrl\s*:(\s*['"`](.*?)['"`]\s*([,}]))/gm;
33
const STYLES_URLS_REGEX = /styleUrls *:(\s*\[[^\]]*?\])/g;
34
-const LOAD_CHILDREN_REGEX = /loadChildren\s*:(\s*['"`](.*?)['"`]\s*([,}]))/gm;
+const LOAD_CHILDREN_REGEX = /loadChildren\s*:(\s*['"`](.*?)['"`]\s*)/gm;
35
const STRING_REGEX = /(['`"])((?:[^\\]\\\1|.)*?)\1/g;
36
37
const JS_REGEX = /\.html$/;
@@ -454,4 +454,4 @@ export class AngularTsCompiler {
454
code = replaceAll(code, 'AppModule', 'AppModuleNgFactory');
455
return code;
456
}
457
-}
+}
0 commit comments