fix(aio): add service worker entrypoint to aio build (#19875)

Fixes #19838

PR Close #19875
This commit is contained in:
Alex Rickabaugh 2017-10-23 09:47:49 -07:00 committed by Matias Niemelä
parent 04200150d5
commit 4abacb58f1
3 changed files with 16 additions and 0 deletions

View File

@ -63,6 +63,7 @@ module.exports = new Package('angular-api', [basePackage, typeScriptPackage])
'router/index.ts', 'router/index.ts',
'router/testing/index.ts', 'router/testing/index.ts',
'router/upgrade/index.ts', 'router/upgrade/index.ts',
'service-worker/index.ts',
'upgrade/index.ts', 'upgrade/index.ts',
'upgrade/static/index.ts', 'upgrade/static/index.ts',
]; ];

View File

@ -21,6 +21,7 @@ const packageMap = {
'platform-webworker': ['platform-webworker/index.ts'], 'platform-webworker': ['platform-webworker/index.ts'],
'platform-webworker-dynamic': 'platform-webworker-dynamic/index.ts', 'platform-webworker-dynamic': 'platform-webworker-dynamic/index.ts',
router: ['router/index.ts', 'router/testing/index.ts', 'router/upgrade/index.ts'], router: ['router/index.ts', 'router/testing/index.ts', 'router/upgrade/index.ts'],
'service-worker': ['service-worker/index.ts'],
upgrade: ['upgrade/index.ts', 'upgrade/static/index.ts'] upgrade: ['upgrade/index.ts', 'upgrade/static/index.ts']
}; };

View File

@ -0,0 +1,14 @@
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
// This file is not used to build this module. It is only used during editing
// by the TypeScript language service and during build for verification. `ngc`
// replaces this file with production index.ts when it rewrites private symbol
// names.
export * from './public_api';