[Bug] libraries dependencies using index.ts
See original GitHub issueType of Issue
[x] Bug Report
[ ] Feature Request
Description
I thinks it’s a angular-cli issue, but what do I know 😃 I posted it there and here as well: https://github.com/angular/angular-cli/issues/11210
Here is project: https://github.com/piernik/lib-deps-bug
It contains two libraries. Second is dependent on First. Build first lib using npm run first:build
, then build second using npm run second:build
- it fails.
Now go to https://github.com/piernik/lib-deps-bug/blob/master/projects/first/src/lib/first.module.ts and comment in import {MyPipePipe} from './pipes';
and comment out // import {MyPipePipe} from './pipes/my-pipe/my-pipe.pipe';
It is working now.
Expected Behaviour
Pipes folder is exported as a whole with index.ts so it should work.
Version Information
In project I use "ng-packagr": "^3.0.0-rc.2",
that comes with angular-cli but also tried 3.0.1
this the same result.
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (2 by maintainers)
Top GitHub Comments
Ok thanks for help. Hope they fix it soon.
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem. This action has been performed automatically by a bot.