forked from olov/ng-annotate
-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Description
I was having problems with running npm run prod because angular wouldn't load the minified functions correctly and logging this error:
Error: [$injector:modulerr] Failed to instantiate module app due to: [$injector:modulerr] Failed to instantiate module app.config due to: [$injector:unpr] Unknown provider: e http://errors.angularjs.org/1.5.8/$injector/unpr?p0=e t
Resolved it by adding angularjs-annotate to .babelrc plugin:
"plugins": [
"transform-vue-jsx",
"syntax-dynamic-import",
"angularjs-annotate"
]
However, as a result of this fix, I started getting error TypeError: "e._f(...) is not a function", which is related to global vue filters Vue.filter(...).
Is there any way to get the plugin angularjs-annotate to work on angular code only, ignoring my vue code?
Metadata
Metadata
Assignees
Labels
No labels