digitalsparky / jekyll-minifier

Jekyll HTML/XML/CSS/JS Minifier utilising yui-compressor, and htmlcompressor
GNU General Public License v3.0
245 stars 25 forks source link

To use ES6 syntax, harmony mode must be enabled with Uglifier.new(:harmony => true) #45

Closed jp26jp closed 5 years ago

jp26jp commented 5 years ago

I understand that to enable es6, we have to add this to our _config.yml file:

jekyll-minifier:
  uglifier_args:
    harmony: true

but that doesn't appear to do anything.

Here's an example