-
Notifications
You must be signed in to change notification settings - Fork 27
babel 7 support #42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
same here, stopped working with |
did you disabled mangling? like before it worked, i upgraded something and now i have to disable mangling... |
looks like babel has changed something i think |
@p3x-robot This repo is maintained. Please feel free to open a PR if you'd like to fix this. |
I use this plugin together with babel 7 without any problems. |
I created a PR #43. I am not very sure of my changes since I don't follow closely the evolution of Babel but tests are passing 🙏 |
Thanks for arousing my interest @StabbarN, I've since discovered this indeed works with Babel 7 - you just need to require it rather than using the string literal reference as instructed in the README. module.exports = {
presets: [
'@babel/preset-env'
],
plugins: [
require('babel-plugin-angularjs-annotate'),
'proposal-optional-chaining'
]
} Though now that I think about it, this should also work just fine: module.exports = {
presets: [
'@babel/preset-env'
],
plugins: [
'angularjs-annotate',
'proposal-optional-chaining'
]
} I think all the package naming changes just threw me off. |
I'm currently modernising an angular 1.5 app
I would like to use babel 7 but this plugin has not been updated, are there any plans for this update?
The text was updated successfully, but these errors were encountered: