From 44c498cae04346d3ea91f6ae6794f4b93d171d12 Mon Sep 17 00:00:00 2001 From: dbrab <87998720+dbrab@users.noreply.github.com> Date: Fri, 17 Sep 2021 15:05:27 -0500 Subject: [PATCH 1/2] feat: change ng-annotate to ng-annotate-patch support async await . --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index cd22bac..92bf1dc 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "dependencies": { "clone": "^2.1.1", "loader-utils": "1.1.0", - "ng-annotate": "1.2.1", + "ng-annotate-patched": "^1.13.0", "normalize-path": "2.0.1", "source-map": "0.5.6" }, From eef21eb57915f0199ca4dc80db2e4cdf5c5e1acf Mon Sep 17 00:00:00 2001 From: dbrab <87998720+dbrab@users.noreply.github.com> Date: Fri, 17 Sep 2021 15:06:34 -0500 Subject: [PATCH 2/2] feat: change ng-annotate to ng-annotate-patched support async await feature --- loader.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/loader.js b/loader.js index f171a1d..2733425 100644 --- a/loader.js +++ b/loader.js @@ -21,7 +21,7 @@ function getOptions(sourceMapEnabled, filename) { } if (options.ngAnnotate === undefined) { - options.ngAnnotate = 'ng-annotate'; + options.ngAnnotate = 'ng-annotate-patched'; } if (sourceMapEnabled && options.map === undefined) {