Skip to content

How use swc_ecma_minifier #4126

Closed Answered by RiESAEX
JSerFeng asked this question in Q&A
Mar 23, 2022 · 2 comments · 1 reply
Discussion options

You must be logged in to vote

you need to wrap it with

let globals = Globals::new();
GLOBALS.set(&globals,||{
// your code
})

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@JSerFeng
Comment options

Answer selected by JSerFeng
Comment options

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