tedious/JShrink

Error when using string literals inside of template literals

atomicptr opened this issue · 2 comments

If you try to use a string literal (' or ") within a template literal ( Backticks / https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals ) it throws an error.

Example:

<?php
echo \JShrink\Minifier::minify("let x = `I'm here`;");

Looks like there is just no ES6 support and also project looks like dead thing :/
Related issue - #66

The project isn't dead, I'm just not actively working on it. I do review and merge pull requests.