You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We use Jekyll Assets with great passion in our static sites but we've been getting continually frustrated with Uglifier not supporting ES6 syntax like below:
// define a getter_defineProperty(ExampleClass,'values',()=>{},'getter');// define a methodclassExampleClass{constructor(...args){super(...args);_defineProperty(this,"onBlur",event=>{});}}
I've raised this as an issue with UglifyJS but they don't seem to be doing a very good job of supporting the modern syntax...
How feasible is it to replace Uglifier with something more modern that understands ES6 syntax properly?
The text was updated successfully, but these errors were encountered:
We use Jekyll Assets with great passion in our static sites but we've been getting continually frustrated with Uglifier not supporting ES6 syntax like below:
As it means we have to define them manually using
defineProperty
like so:I've raised this as an issue with UglifyJS but they don't seem to be doing a very good job of supporting the modern syntax...
How feasible is it to replace Uglifier with something more modern that understands ES6 syntax properly?
The text was updated successfully, but these errors were encountered: