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 (nrwl#3888)

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 authored and Doginal committed Nov 25, 2020
1 parent 9958d16 commit c0627d1
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 c0627d1

Please sign in to comment.