-
Notifications
You must be signed in to change notification settings - Fork 12k
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
[IVY][9.0.0] Renaming a directive in a consumed library built by ng-packagr causes error in Application when in watch mode #16920
Milestone
Comments
JonWallsten
changed the title
[IVY][9.0.0] Renaming a directive in a consumed library built by ng-packagr causes error in Application
[IVY][9.0.0] Renaming a directive in a consumed library built by ng-packagr causes error in Application when in watch mode
Feb 10, 2020
Is there any improvement regarding the problem? |
kyliau
pushed a commit
that referenced
this issue
Feb 18, 2020
We now add non node_modules `.d.ts` as a dependency of the main chunk. This is important under Ivy, because NG metadata is now part of the declarations files ex: ```ts export declare class FooComponent implements OnInit { constructor(); ngOnInit(): void; static ɵfac: i0.ɵɵFactoryDef<FooComponent>; static ɵcmp: i0.ɵɵComponentDefWithMeta<FooComponent, "lib-foo", never, {}, {}, never>; } ``` Previously such files were not being added as dependency and such files didn't get invalidated when changed. Closes #16920 and closes #16921
kyliau
pushed a commit
that referenced
this issue
Feb 18, 2020
We now add non node_modules `.d.ts` as a dependency of the main chunk. This is important under Ivy, because NG metadata is now part of the declarations files ex: ```ts export declare class FooComponent implements OnInit { constructor(); ngOnInit(): void; static ɵfac: i0.ɵɵFactoryDef<FooComponent>; static ɵcmp: i0.ɵɵComponentDefWithMeta<FooComponent, "lib-foo", never, {}, {}, never>; } ``` Previously such files were not being added as dependency and such files didn't get invalidated when changed. Closes #16920 and closes #16921
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
ikjelle
pushed a commit
to ikjelle/angular-cli
that referenced
this issue
Mar 26, 2024
We now add non node_modules `.d.ts` as a dependency of the main chunk. This is important under Ivy, because NG metadata is now part of the declarations files ex: ```ts export declare class FooComponent implements OnInit { constructor(); ngOnInit(): void; static ɵfac: i0.ɵɵFactoryDef<FooComponent>; static ɵcmp: i0.ɵɵComponentDefWithMeta<FooComponent, "lib-foo", never, {}, {}, never>; } ``` Previously such files were not being added as dependency and such files didn't get invalidated when changed. Closes angular#16920 and closes angular#16921
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
🐞 Bug report
Command (mark with an
x
)Description
We are building a library with ng-packagr and then consuming it in our Angular 9 application.
When I renamed one of the exported directives used by the application I get an error causing rendering to skip the rest of the page.
🔬 Minimal Reproduction
As usual I can pr
ovide an example but it takes time. Let me know if it's needed.
🔥 Exception or Error
🌍 Your Environment
Anything else relevant?
The text was updated successfully, but these errors were encountered: