You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to return an AST node to change code content, but I found that the generated code would be wrapped with parentheses, which would cause parsing error.
e.g.
(varwrappedVar='test';)// Error! Unexpected token at ....
The text was updated successfully, but these errors were encountered:
https://github.com/sxzz/unplugin-ast/blob/fb31eeb8ca343d5b67cfa364ab5dba9812d61eaa/src/core/transform.ts#L69
I tried to return an AST node to change code content, but I found that the generated code would be wrapped with parentheses, which would cause parsing error.
e.g.
The text was updated successfully, but these errors were encountered: