afcff73be3
In the ReflectionHost API, a 'viaModule' indicates that a particular value originated in another absolute module. It should always be 'null' for values originating in relatively-imported modules. This commit fixes a bug in the CommonJsReflectionHost where viaModule would be reported even for relatively-imported values, which causes invalid import statements to be generated during compilation. A test is added to verify the correct behavior. FW-1628 #resolve PR Close #33192 |
||
---|---|---|
.. | ||
integrationtest | ||
ngcc | ||
src | ||
test | ||
BUILD.bazel | ||
index.ts | ||
ngtools2.ts | ||
package.json | ||
tsconfig-build.json | ||
tsconfig.json |