-
Notifications
You must be signed in to change notification settings - Fork 311
*.d.ts, *.js, and *.metadata.json files are getting generated in my src directory when using angular 2 barrels #136
Comments
Hello, thanks for using Ionic! I am going to close this issue as a duplicate of #105. |
@jgw96 Is this really the same issue? They were getting the following error: I am not getting that error. It builds fine if I delete all those files. I am just getting metadata files generated in my source directory when using barrels. Help me understand how this is the same issue as #105 |
@jgw96 I am not trying to be annoying. I know you guys are hard at work fixing things. I just want to make sure my issue doesn't get lost. Are you sure this is the same issue as #105? It has to do with barrels, but it appears to me to be a separate issue for me. Would you be able to clarify why you think this is the same issue. Thanks for ionic and keep up the good work! |
Look like its fixed with Ionic RC1 + Angular 2.1.0. |
I have updated my app to RC2 and still having this problem. Is it possible that I have some leftover build options that are still screwing things up? Any ideas? Thanks, |
For information... tsconfig.json:
And tsconfig.tmp.json:
It seems like the "include" section might be causing problems? No idea. |
add
in your tsconfig |
Thanks for the response -- unfortunately that didn't help. Also tried changing "sourceMap" to false, as I thought maybe that was part of it, but no change. Any other ideas? Thanks. |
The good news is that for some reason the build is not failing anymore, at the very least... still wondering why all these files started appearing in my src folder... |
They are needed for AoT compilation. |
*.d.ts, *.js, and *.metadata.json files are getting generated in my src directory when using angular 2 barrels. If I remove the barrel, then they are not generated in the src directory.
It would be nice if they were not put in the src directory because when you try and build again the linter and the build fails because it is not expecting those files to be there.
Steps to reproduce:
Result
*.d.ts, *.js, and *.metadata.json files are get generate next to the *.ts files in the src directory (at least the ones using barrels do)
Which @ionic/app-scripts version are you using?
ionic CLI 2.1.0
ionic 2 RC0
angular 2.0.1
@ionic/app-scripts 0.0.30 (latest)
The text was updated successfully, but these errors were encountered: