Skip to content
New issue

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

Minify JS fails if let, const or arrow function are used #36

Open
jakopo87 opened this issue Jul 25, 2020 · 2 comments
Open

Minify JS fails if let, const or arrow function are used #36

jakopo87 opened this issue Jul 25, 2020 · 2 comments

Comments

@jakopo87
Copy link

The following snippet of code fails to minify if any of the commented line is uncommented

var a = 1;
// let b = 2;
// const c = 3;
function d() {
    var a = 1;
    // let b = 2;
    // const c = 3;
}
// var f = () => { };

Easy Compiler Version: v1.2.1
VS Code Version: 1.46.1 (system setup)

@Nikairu
Copy link

Nikairu commented Oct 1, 2020

@jakopo87 im having the same issue, did you find any fix?

@jakopo87
Copy link
Author

jakopo87 commented Oct 1, 2020

I just did not minify the file, it was a little script made in my spare time. I may try to investigate it if I'll get a chance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants