Tobias Bosch
2235048432
refactor(compiler): add `createAotCompiler` factory
...
Also adds 2 more methods to the `AotCompilerHost`:
- `loadResource`
- `resolveFileToImport`
2016-11-18 10:04:14 -08:00
Tobias Bosch
24099bdbd2
refactor(compiler): move `findDeclaration` into the `StaticReflector`
...
Previously, this was part of the `AotCompilerHost`.
The `AotCompilerHost` is now also greatly simplified.
2016-11-18 10:04:14 -08:00
Joao Dias
77ee27c59e
refactor(): use const and let instead of var
2016-11-12 16:40:17 -08:00
Miško Hevery
979657989b
fix(packages): use ES modules for primary build ( #11120 )
2016-08-30 18:07:40 -07:00
Alex Eagle
9317056138
fix(ngc): Revert "fix(ngc): add an option to produce TS1.9-pathMapping imports ( #10602 )" ( #10765 )
...
This reverts commit beadf6167a
.
2016-08-12 17:38:29 -07:00
Alex Eagle
beadf6167a
fix(ngc): add an option to produce TS1.9-pathMapping imports ( #10602 )
...
This fixes a regression in #10486
2016-08-09 14:58:19 -07:00
Victor Berchet
00aa7a76b6
chore(tests): enable lint, make it green. ( #10224 )
2016-07-21 17:12:00 -07:00
Chuck Jazdzewski
6518ff88b2
fix(compiler): No longer writes 0 length files outside of genDir ( #10023 )
...
Fixes : #9984
2016-07-13 11:15:23 -07:00
ScottSWu
ae75e3640a
chore(lint): Added license headers to most TypeScript files
...
Relates to #9380
2016-06-23 09:47:54 -07:00
Alex Eagle
f39c9c9e75
style(lint): re-format modules/@angular
2016-06-09 17:00:15 -07:00
Chuck Jazdzewski
0658eb4429
fix(compiler): Added unit test to ReflectorHost and fixed issues ( #9052 )
...
Refactored ReflectorHost to allow it to be tested.
Fixed an issue where the .d.ts was findable but it wasn't used by the project
(This happens when the .metadata.json file references a module that was not
needed, such as it doesn't declare any types, and the reference to it was
elided by TypeScript when writing the .d.ts file).
Added tests for ReflectorHost
2016-06-09 14:51:53 -07:00