Skip to content

when helper will inject to result code #1925

Answered by kdy1
IronLu233 asked this question in Q&A
Discussion options

You must be logged in to vote

Helper is injected by inject_helpers pass (https://rustdoc.swc.rs/swc_ecma_transforms_base/helpers/fn.inject_helpers.html) and it's chained like

Optional::new(helpers::inject_helpers(), self.inject_helpers),

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by IronLu233
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants