From c2690153f87fe53c2c4559296611c5c1d8989a50 Mon Sep 17 00:00:00 2001 From: Mahmoud Hashemi Date: Thu, 25 Aug 2022 19:34:29 -0700 Subject: [PATCH] fix angular injection annotations for minified bundle --- .babelrc | 5 +++-- package.json | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.babelrc b/.babelrc index ad1a2cf..de89a55 100755 --- a/.babelrc +++ b/.babelrc @@ -1,3 +1,4 @@ -{ - "presets": [ "es2015" ] +{ + "presets": ["es2015"], + "plugins": ["angularjs-annotate"], } \ No newline at end of file diff --git a/package.json b/package.json index 2989f8c..c5cf4af 100755 --- a/package.json +++ b/package.json @@ -18,6 +18,7 @@ "api-check": "^6.0.10", "babel-core": "^6.9.1", "babel-loader": "^6.2.4", + "babel-plugin-angularjs-annotate": "^0.10.0", "babel-plugin-transform-runtime": "^6.23.0", "babel-preset-es2015": "^6.9.0", "babel-preset-stage-2": "^6.0.0",