chore(dgeni): update dgeni to serve old and new router

This commit is contained in:
Naomi Black 2016-05-02 17:41:11 -07:00
parent c5309e9195
commit d442b30a68
2 changed files with 2 additions and 1 deletions

View File

@ -56,6 +56,7 @@ module.exports = new Package('angular.io', [basePackage, targetPackage, cheatshe
'@angular/platform-server/index.ts', '@angular/platform-server/index.ts',
'@angular/platform-server/testing.ts', '@angular/platform-server/testing.ts',
'@angular/router/index.ts', '@angular/router/index.ts',
'@angular/router-deprecated/index.ts',
'@angular/upgrade/index.ts', '@angular/upgrade/index.ts',
]; ];
readTypeScriptModules.hidePrivateMembers = true; readTypeScriptModules.hidePrivateMembers = true;

View File

@ -27,7 +27,7 @@ module.exports = function readTypeScriptModules(tsParser, modules, getFileInfo,
// We leave class members sorted in order of declaration // We leave class members sorted in order of declaration
sortClassMembers: false, sortClassMembers: false,
// We can provide a collection of strings or regexes to ignore exports whose export names match // We can provide a collection of strings or regexes to ignore exports whose export names match
ignoreExportsMatching: ['___esModule', '___core_private_types__', '___platform_browser_private__', '___compiler_private__'], ignoreExportsMatching: ['___esModule', '___core_private_types__', '___platform_browser_private__', '___compiler_private__', '__core_private__'],
$process: function(docs) { $process: function(docs) {