--compress option is parsed as a string but checked as a boolean, so it's not working anymore: everything is always minified.
Seems to be related to https://github.com/lukeed/sade/issues/21 . Sade doesn't seem to forward the required type information to the cli parser mri.
Fixed in 0.9.0. As suspected this issue was downstream in the dependency we use to parse the cli arguments. Note: you may need to clear node_modules and run npm install again because npm may have cached an older version of mri.
Hi here,
It seems broken again (for the same reason)…
I am using version 0.10.1.
option.compress is returning a string ('false').
Then, on line #538, options.compress !== false is always returning true…
Changing it to options.compress !== 'false', makes the build not compressed.
yeah, you're supposed to use --no-compress but it's not really obvious
Most helpful comment
yeah, you're supposed to use
--no-compressbut it's not really obvious