Skip to content

Commit

Permalink
fix(angular): components not correctly imported in the Angular app mo…
Browse files Browse the repository at this point in the history
  • Loading branch information
y-lakhdar authored Feb 12, 2021
1 parent 3b4d5fe commit b02909f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/angular/src/rules/ng-module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ function getAllCoveoComponentsToInject(
.filter(isCreateAction)
.map((action) => {
const componentName = basename(dirname(action.path));
const fileLocation = join(componentName, basename(action.path, '.ts'));
const fileLocation = `./${componentName}/${basename(action.path, '.ts')}`;

changes.push(
...(addDeclarationToModule(
Expand Down

0 comments on commit b02909f

Please sign in to comment.