You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Allow to generate code for files outside of rootDir (e.g. in node_modules) #19337
With current ng5 we don't generate code for libraries outside of rootDir.
We should implement this properly (e.g. so that this also work in watch mode, ...).
Algorithm for mapping path to rootDir:
take common prefix from path and rootDir
count all ..
produce path rootDir/dotDotCount/suffix
It is important that the generated path can be mapped back to the original file without extra caches, ... as TS might ask for generated files directly when passing an oldProgram, without looking at the base file first.
Activity
tbosch commentedon Sep 22, 2017
Note that this is non trivial, as we drive the generated path of a file from the path of the file in several places in Angular.
fix(compiler): various squashed fixes for the new ngc
tbosch commentedon Oct 31, 2017
We determined that it's works as intended that we don't generate code for files outside of
rootDir.angular-automatic-lock-bot commentedon Sep 12, 2019
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.