We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug report or Feature request? Feature request
Version (complete output of terser -V or specific git commit) Whatever's the version on https://try.terser.org
terser -V
Complete CLI command or minify() options used --module --compress --mangle (the default parameters on https://try.terser.org)
minify()
--module --compress --mangle
terser input
terser
var context function getContext() { return context } function setContext(c) { context = c } export function useContext() { var prevContext = getContext() /*@__INLINE__*/setContext(foo) try { operation() } finally { setContext(prevContext) } }
terser output or error
var o;function n(n){o=n}export function useContext(){var t,r=o;t=foo,o=t;try{operation()}finally{n(r)}}
Expected result
var o;export function useContext(){var t,r=o;t=foo,o=t;try{operation()}finally{o=r}}
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Bug report or Feature request? Feature request
Version (complete output of
terser -V
or specific git commit) Whatever's the version on https://try.terser.orgComplete CLI command or
minify()
options used--module --compress --mangle
(the default parameters on https://try.terser.org)terser
inputterser
output or errorExpected result
The text was updated successfully, but these errors were encountered: