Uh oh!
There was an error while loading. Please reload this page.
fix(build): use baseUrl and paths from tsconfig - #2470
Conversation
8b8c5ff to
9fae6d0Compareglipecki
commented
Oct 3, 2016
That's awesome ;) Thanks! |
abner
commented
Oct 4, 2016
Awesome!!!! |
arlowhite
commented
Apr 14, 2017
@filipesilva What issue can I follow that tracks support for --aot with I use |
altschuler
commented
Jun 3, 2017
@filipesilva Would you have any pointers as to what could be done as a workaround for aot support? Thanks! |
filipesilva
commented
Jun 12, 2017
@arlowhite@altschuler I'm not sure what the problem you are describing is, AFAIK TS paths work for aot. Can you open a new issue with a repro of what you're experiencing? |
arlowhite
commented
Jun 12, 2017
@filipesilva I'm not sure custom paths are the root cause. You can ignore my comment. Just FYI... My AOT build with I started to work on fixing the animations: [trigger('fade',[state('hide'asFadeState,style({The After fixing that, I got hundreds of errors reporting that Component fields were private that needed to be public for AOT. I haven't had time to work through those issues yet, so don't know if the build will actually work now. |
altschuler
commented
Jun 13, 2017
@filipesilva Please ignore, problem turned out to be something completely different, baseUrl and paths work great with aot :) |
filipesilva
commented
Jun 21, 2017
@arlowhite there was a bug pre-1.0 that was hiding a lot of AOT errors (like the private members), and was discussed #5623. This did result in a lot more AOT errors being reported in 1.0. They were mostly 'real' AOT errors though, and a few that weren't were fixed. |
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. |
Supersedes #2210#2392#2428.
Uses same base mechanism as @abner's #2210, but edits the new
webpack-build-typescript.tsand adds tests.Does NOT currently work for
--aot(/cc @hansl).