Skip to content

Commit

Permalink
fix(angular): angular library was not checking to see if an import pa…
Browse files Browse the repository at this point in the history
…th exists

loading child paths into an angular library was not checking to see if an import path exists, so it
generated the wrong path.
the unit tests of the angular package are working. I generated a local
release with verdaccio after the correction and generated the right children path.
  • Loading branch information
guiseek committed Oct 9, 2020
1 parent 03c48d1 commit 99c1342
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ export function addLoadChildren(options: NormalizedSchema): Rule {
sourceFile,
`{path: '${toFileName(
options.fileName
)}', loadChildren: () => import('@${npmScope}/${
options.projectDirectory
)}', loadChildren: () => import('${
options.importPath
}').then(module => module.${options.moduleName})}`
),
]);
Expand Down

0 comments on commit 99c1342

Please sign in to comment.