We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac67772 commit 9cad002Copy full SHA for 9cad002
packages/angular/pwa/pwa/index.ts
@@ -19,6 +19,7 @@ import {
19
template,
20
url,
21
} from '@angular-devkit/schematics';
22
+import { NodePackageInstallTask } from '@angular-devkit/schematics/tasks';
23
import { getWorkspace } from '../utility/config';
24
import { Schema as PwaOptions } from './schema';
25
@@ -45,6 +46,8 @@ export default function (options: PwaOptions): Rule {
45
46
move(assetPath),
47
]);
48
49
+ context.addTask(new NodePackageInstallTask());
50
+
51
return chain([
52
addServiceWorker(options),
53
branchAndMerge(chain([
0 commit comments