-
Notifications
You must be signed in to change notification settings - Fork 936
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Link generation in dist files to other dependencies is not good #1972
Comments
@davidfirst That's again something with the links for angular components with the compName / dist folder in the compiler. |
I have a strange thing that happens, I exported with bit version 14.2.6-dev.2 to this collection https://bit.dev/joshk/cashmere-t1/button and it was not working, I tagged again all the components and export again and it's work! So I want to try this thing in a new collection with version 14.2.6-dev.3, and it's not working I give yours permission to both collection, so you can import them to see the difference. |
I checked it again to see if maybe it works, and it's not. |
@qballer @GiladShoham , we fixed the original issue with the prefix of the component-name in the |
The build of button t2 has been fixed in the PR above. |
Hey @davidfirst, I recreate this and it's still not working. |
Here is the issue.
This doesn’t work. dist/pop/pop/popover.module is a d.ts file and can’t be required on runtime. |
resolved as part of v15. We'll start rolling out v15 of Bit this week, please reach out to me privately on the public slack community for a sneak peek and getting early access to it. |
Describe the bug
I imported a component that has a pop component as a dependency, and when I run the app, I get this error:
This is the link in the button component fesm2015 folder:
And if I chnge them to this, is good:
Steps to Reproduce
npm i @angular/cdk
.bit import joshk.cashmere-t1/button
(it's private, I give you permission)And this is the error you will get:
Specifications
The text was updated successfully, but these errors were encountered: