Skip to content

Commit 9cad002

Browse files
Broccohansl
authored andcommitted
fix(@angular/pwa): Install new dependencies
fixes #10332
1 parent ac67772 commit 9cad002

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/angular/pwa/pwa/index.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ import {
1919
template,
2020
url,
2121
} from '@angular-devkit/schematics';
22+
import { NodePackageInstallTask } from '@angular-devkit/schematics/tasks';
2223
import { getWorkspace } from '../utility/config';
2324
import { Schema as PwaOptions } from './schema';
2425

@@ -45,6 +46,8 @@ export default function (options: PwaOptions): Rule {
4546
move(assetPath),
4647
]);
4748

49+
context.addTask(new NodePackageInstallTask());
50+
4851
return chain([
4952
addServiceWorker(options),
5053
branchAndMerge(chain([

0 commit comments

Comments
 (0)