angular-cn/packages
Alex Rickabaugh 6003145422 fix(ivy): properly rewrite imports in generated factory shims (#27998)
Generated factory shims can import from @angular/core. However, we have
special logic in place to rewrite self-imports when generating code for
@angular/core.

This commit leverages the new standalone ImportRewriter interface to
properly rewrite imports in generated factory shims. Before this fix,
a generated factory file for core would look like:

```typescript
import * as i0 from './r3_symbols';

export var ApplicationModuleNgFactory = new ɵNgModuleFactory(...);
```

This is invalid, as ɵNgModuleFactory is just NgModuleFactory when imported
via r3_symbols.

FW-881 #resolve

PR Close #27998
2019-01-10 10:46:32 -08:00
..
animations refactor: remove redundant error in catch (#25478) 2019-01-04 15:42:19 -08:00
bazel fix(bazel): Add @bazel/bazel to dev deps (#28032) 2019-01-09 17:45:16 -08:00
benchpress build: remove "build.sh" script (#27937) 2019-01-07 15:35:09 -08:00
common refactor: remove redundant error in catch (#25478) 2019-01-04 15:42:19 -08:00
compiler fix(ivy): ensure animation @bindings work for {key:value} and empty bindings (#28026) 2019-01-09 16:12:17 -08:00
compiler-cli fix(ivy): properly rewrite imports in generated factory shims (#27998) 2019-01-10 10:46:32 -08:00
core refactor(ivy): extract import rewriting into a separate interface (#27998) 2019-01-10 10:46:32 -08:00
docs
elements refactor: remove redundant error in catch (#25478) 2019-01-04 15:42:19 -08:00
examples docs(upgrade): add gotchas/tips/example for multiple downgraded modules (#27217) 2018-12-20 16:20:41 -05:00
forms docs(forms): remove duplicated link (#27884) 2019-01-09 12:43:29 -08:00
http refactor: remove redundant error in catch (#25478) 2019-01-04 15:42:19 -08:00
language-service fix(compiler-cli): create LiteralLikeNode for String and Number literal (#27536) 2018-12-18 13:20:01 -08:00
platform-browser refactor: remove redundant error in catch (#25478) 2019-01-04 15:42:19 -08:00
platform-browser-dynamic test(ivy): root causes update for 'platform-browser-dynamic' and i18n tests (#27972) 2019-01-07 20:27:50 -08:00
platform-server test(ivy): root cause analysis for `@angular/platform-server` (#27800) 2018-12-26 11:17:45 -08:00
platform-webworker fix(ivy): disable test which rely on DebugElement in WebWorker (#27895) 2019-01-04 18:37:31 -08:00
platform-webworker-dynamic build: restrict visibility of npm_package targets (#27611) 2018-12-14 10:20:40 -08:00
private/testing test(ivy): add i18n integration tests via TestBed (#27852) 2019-01-07 14:47:24 -08:00
router test(ivy): add root causes for router TestBed failures (#28014) 2019-01-09 11:49:45 -08:00
service-worker refactor: remove redundant error in catch (#25478) 2019-01-04 15:42:19 -08:00
upgrade test(ivy): re-enable passing upgrade tests (#28030) 2019-01-09 16:03:02 -08:00
BUILD.bazel
README.md
empty.ts
es6-subset.d.ts build: fix our copy of Array#find typing (#27742) 2018-12-19 15:11:52 -05:00
goog.d.ts test(ivy): add bundling test `todo_i18n` (#27420) 2018-12-04 19:59:12 -08:00
license-banner.txt
rollup.config.js
system.d.ts
tsconfig-build.json
tsconfig-test.json
tsconfig.json
types.d.ts

README.md

Angular

The sources for this package are in the main Angular repo. Please file issues and pull requests against that repo.

License: MIT