-
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
external module in Angular CLI #8607
Comments
Thanks |
We don't support building from external sources, and generally speaking AOT builds won't work with externals since they need the code to be present to statically analyze and produce ng factories. Since it can't work with AOT I don't think we can support this usecase. |
So there is no way this could be added as a feature in case we build without AOT :) ? |
#8607 (comment) we do not recommend JIT production build. Let us leave this out of the scope of the CLI. |
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. |
Hello
We have the following situation:
--> So somewhere in a file an "import MyComponent from 'myorg/core'" is done which works fine (the d.ts files are detected and providing typing)
How can I make this work with Angular CLI?
In Webpack I would be able to use the externals property and this would work fine.
Actually I think it should be the same behavior as @types packages...
Thanks in advance.
The text was updated successfully, but these errors were encountered: