Skip to content

Commit 671bfba

Browse files
committed
feat: update to support angular 12.0
updated deps and builders to support angular 12.x BREAKING CHANGE: Apps must use Angular 12.0 Closes #459. Closes #460
1 parent 0100b8b commit 671bfba

File tree

3 files changed

+6472
-5860
lines changed

3 files changed

+6472
-5860
lines changed

builders/cordova-serve/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export function serveCordova(
4848
devServerTargetOptions.port = port;
4949
devServerTargetOptions.host = host;
5050
devServerTargetOptions.ssl = ssl;
51-
// tslint:disable-next-line: no-unnecessary-type-assertion
51+
5252
const formattedOptions = (await context.validateOptions(
5353
devServerTargetOptions,
5454
devServerName,
@@ -64,7 +64,7 @@ export function serveCordova(
6464
switchMap(({ formattedOptions, formattedAssets }) =>
6565
executeDevServerBuilder(
6666
formattedOptions,
67-
context,
67+
context as any,
6868
getTransforms(formattedAssets, context),
6969
),
7070
),
@@ -106,7 +106,7 @@ const cordovaServeTransform: (
106106
});
107107

108108
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
109-
browserWebpackConfig.plugins!.push(
109+
(browserWebpackConfig.plugins as any)?.push(
110110
...scriptExtras,
111111
copyWebpackPluginInstance,
112112
);

0 commit comments

Comments
 (0)