Closed jogelin closed 7 years ago
The /index
is added to your code by the angular compiler, more accurately tsickle
which is used by the angular compiler.
This is a known bug, see the examples pages, at the end of the page there is a comment about that.
The solution is not using an index.ts
files as your entry point.
In that page you'll see examples of how to achieve that
It works, thank you ! I didn't see your comment...
Just to summarize:
{
"description": "my-lib",
"libConfig": {
"entry": "my-lib"
},
I'm submitting a ... [X] bug report [ ] feature request [ ] question about the decisions made in the repository
What is the current behavior? If I have 2 library on the second one is depending of the first one, I get this error/warning:
But I added in my rollup configuration:
What is the expected behavior? To not have this warning. I am not an expert but why the
/index
is added to my lib ?