Closed Faline10 closed 6 years ago
+1 having same issue with keyword import
I discovered the issue is that gulp cannot follow symlinks, and the dependency being piped through the src() was a symlink. Since we use symlinks in development, the solution was to detect if the source was a symlink, and if it is, use the real path. Closing this issue.
Is there any way to get babel-istanbul to work on dependencies? Right now I'm receiving an "SyntaxError: Unexpected token import" error from an es6 dependency. I would think that since Babel is in the instrumenter, that it could parse this.
The code looks something like this: