-
As far as I know, unresolved_mark is important if I want to add global API eg: require, but using swc::Compiler::process_js_with_custom_pass, seems I can't get unresolved_mark inside it, and every call to process_js_with_custom_pass, a Now I can only clear mark and re-apply mark myself using |
Beta Was this translation helpful? Give feedback.
Answered by
kdy1
Oct 15, 2022
Replies: 1 comment 2 replies
-
I simply forgot adding it |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
JSerFeng
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I simply forgot adding it