-
Notifications
You must be signed in to change notification settings - Fork 46
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
arrow functions failing to be parsed correctly #49
Comments
Hardly any ES6 is supported I believe. Make sure you have babel-preset-es2015 installed, and pipe the stream to gulp-babel like so .pipe(babel({ presets: ['es2015'] }))
.pipe(angularFilesort()) |
I believe it's the outdated version of ng-dependencies@0.3.0 it's using.
This error is not present if I change the Seems like overkill to babelify when it really only needs to parse the Were there any changes to |
this project is definitely abandoned, time for a fork i guess |
So is streaming through babel the only work around for now? |
If I use an arrow function in my js file, gulp-angular-filesort is throwing an error (e.g. "Error in parsing: "expert\controllers\ExpertViewController.js", Line 14: Unexpected token =>")
The text was updated successfully, but these errors were encountered: