Closed carllerche closed 2 years ago
I saw this earlier. It's because swc did a patch release overnight to swc_ecma_parser using features in another crate that were not published. It happens quite often. I opened https://github.com/swc-project/swc/issues/4760
@carllerche try running cargo update
. Looks like this was just fixed in swc.
Awesome, thanks!
My guess is there are some swc feature flags that
deno-ast
is depending on implicitly, but I have not debugged yet.I created a new cargo project and added the following dependency:
The body of the code is:
Compiling: