Skip to content

Commit c269015

Browse files
committed
fix angular injection annotations for minified bundle
1 parent e8f5071 commit c269015

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.babelrc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1-
{
2-
"presets": [ "es2015" ]
1+
{
2+
"presets": ["es2015"],
3+
"plugins": ["angularjs-annotate"],
34
}

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
"api-check": "^6.0.10",
1919
"babel-core": "^6.9.1",
2020
"babel-loader": "^6.2.4",
21+
"babel-plugin-angularjs-annotate": "^0.10.0",
2122
"babel-plugin-transform-runtime": "^6.23.0",
2223
"babel-preset-es2015": "^6.9.0",
2324
"babel-preset-stage-2": "^6.0.0",

0 commit comments

Comments
 (0)