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
AOT + barrels not supported #13193
Comments
@rolandoldengarm can't reproduce in angular 4. can you confirm and close the issue lease? thanks |
I'm not able to test in Angular 4. Well not a lot of activity here anyway, let's close it. |
👍 |
@DzmitryShylovich I noticed you gave the thumbs up to not using barrels. Is it discouraged to use barrels? |
@battmanz i think it was suggested to use them some time ago, but current guide says in the last sentence:
https://angular.io/guide/glossary#barrel * i am not an angular team member etc, this is only my opinion and understanding |
update: https://angular.io/guide/change-log
|
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. |
I'm submitting a ... (check one with "x")
Current behavior
In an index.ts I export a class in that folder.
When I import this file in another class, I get an error that the module could not be found:
Expected behavior
In JIT this works fine, I expect the same with AOT.
Minimal reproduction of the problem with instructions
https://github.com/rolandoldengarm/ng-cli-aot
run "ng build --aot"
Even though I'm using Angular CLI, this is an Angular bug I believe.
node --version
=6.9.1
The text was updated successfully, but these errors were encountered: