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
I think there's an issue where template literal tag functions annotated with NO_SIDE_EFFECTS are still minified as if they do have side effects.
Minimal reproduction in playground
Input
/*#__NO_SIDE_EFFECTS__*/ function html(strings, ...values) { return { strings, values } } html`should not be in output`;
Output (using --minify)
--minify
function html(t,...n){return{strings:t,values:n}}html`should not be in output`;
Expected output
function html(t,...n){return{strings:t,values:n}}
Related
The text was updated successfully, but these errors were encountered:
d968af2
No branches or pull requests
I think there's an issue where template literal tag functions annotated with NO_SIDE_EFFECTS are still minified as if they do have side effects.
Minimal reproduction in playground
Input
Output (using
--minify
)Expected output
Related
The text was updated successfully, but these errors were encountered: