Tobias Bosch
6a1ab61cce
refactor(compiler): simplify the CompilerHost
used for transformers
...
- remove unneeded methods (`getNgCanonicalFileName`, `assumeFileExists`)
- simplify moduleName <-> fileName conversion logic as we don’t need to
account for `genDir` anymore.
- rename `createNgCompilerHost` -> `createCompilerHost`
2017-08-16 15:24:48 -07:00
Pawel Kozlowski
d2c0d986d4
perf(core): add option to remove blank text nodes from compiled templates
2017-08-14 13:26:16 -07: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
b6c4af6495
feat(compiler-cli): automatically lower lambda expressions in metadata
2017-07-31 11:30:44 -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