Skip to content
This repository was archived by the owner on Apr 4, 2025. It is now read-only.

Conversation

Brocco
Copy link
Contributor

@Brocco Brocco commented Apr 12, 2018

fixes #686

@@ -19,6 +19,7 @@ import {
url,
} from '@angular-devkit/schematics';
import * as ts from 'typescript';
import { Project } from '../../../angular_devkit/core/src/workspace/workspace-schema';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Whoops. @angular-devkit/core is probably what you want.

@@ -161,6 +161,70 @@ function getTsSourceFile(host: Tree, path: string): ts.SourceFile {
return source;
}

function updateIndexFile(options: ServiceWorkerOptions): Rule {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OOC, since the manifest.json file is part of @angular/pwa, should this method live somewhere in there?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

@angular/pwa doesn't register manifest.json in index.html
4 participants