Tobias Bosch
506d2e98a4
fix(compiler): don’t emit stubs when we didn’t generate code for a file. ( #18788 )
...
Applies to the new transformer compiler.
PR Close #18788
2017-08-28 18:46:43 -05:00
Tobias Bosch
0262e37301
fix(compiler): always emit ngfactories with reexports ( #18788 )
...
Previously, we only did this when setting the `generateCodeForLibraries: false`.
This is needed so that libraries compiled with `generateCodeForLibraries: true` can be used as dependencies of other compilation units.
PR Close #18788
2017-08-28 18:46:43 -05:00
Tobias Bosch
27d901a51d
refactor(compiler-cli): cleanup API for transformer based ngc
...
This is in preparation for watch mode.
2017-08-11 13:20:45 -07:00
Victor Berchet
679608db65
refactor(compiler-cli): use the transformer based compiler by default
...
The source map does not currently work with the transformer pipeline.
It will be re-enabled after TypeScript 2.4 is made the min version.
To revert to the former compiler, use the `disableTransformerPipeline` in
tsconfig.json:
```
{
"angularCompilerOptions": {
"disableTransformerPipeline": true
}
}
```
2017-08-10 20:30:40 -07:00
Chuck Jazdzewski
6f2038cc85
fix(compiler-cli): fix and re-enble expression lowering ( #18570 )
...
Fixes issue uncovered by #18388 and re-enables expression
lowering disabled by #18513 .
2017-08-08 12:40:08 -07:00
Chuck Jazdzewski
5b7432b6ea
fix(compiler-cli): remove minimist dependency of compiler-cli/index ( #18532 )
...
Indirectly removes the minimist dependency in the language service
package was added with the addition of `ngc.ts`.
2017-08-07 14:30:35 -07:00
Victor Berchet
ca695e0632
fix(compiler-cli): disable buggy expression lowering ( #18513 )
2017-08-03 14:31:23 -07:00
Victor Berchet
9479a106bb
build: enable TSLint on the packages folder
2017-07-31 15:47:57 -07:00
Chuck Jazdzewski
b6c4af6495
feat(compiler-cli): automatically lower lambda expressions in metadata
2017-07-31 11:30:44 -07:00
Abhimanyu Deora
ce47546188
refactor(compiler-cli): add support for browser compiler bundle ( #17979 )
...
PR Close #17979
2017-07-25 15:51:46 -05:00
Chuck Jazdzewski
c1474f33be
feat(compiler-cli): add parameters to ngc main needed by bazel rules ( #17885 )
2017-07-07 16:29:39 -07:00
Chuck Jazdzewski
3097083277
feat(compiler-cli): new compiler api and command-line using TypeScript transformers
2017-06-23 16:18:44 -07:00