diff --git a/aio/tools/transforms/angular-api-package/index.js b/aio/tools/transforms/angular-api-package/index.js index d3e6fd8601..3fa94b3c87 100644 --- a/aio/tools/transforms/angular-api-package/index.js +++ b/aio/tools/transforms/angular-api-package/index.js @@ -63,6 +63,7 @@ module.exports = new Package('angular-api', [basePackage, typeScriptPackage]) 'router/index.ts', 'router/testing/index.ts', 'router/upgrade/index.ts', + 'service-worker/index.ts', 'upgrade/index.ts', 'upgrade/static/index.ts', ]; diff --git a/aio/tools/transforms/authors-package/api-package.js b/aio/tools/transforms/authors-package/api-package.js index a5f426453f..541d1ac45e 100644 --- a/aio/tools/transforms/authors-package/api-package.js +++ b/aio/tools/transforms/authors-package/api-package.js @@ -21,6 +21,7 @@ const packageMap = { 'platform-webworker': ['platform-webworker/index.ts'], 'platform-webworker-dynamic': 'platform-webworker-dynamic/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'] }; diff --git a/packages/service-worker/index.ts b/packages/service-worker/index.ts new file mode 100644 index 0000000000..e727e2e8a7 --- /dev/null +++ b/packages/service-worker/index.ts @@ -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';