Closed atomicptr closed 6 years ago
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.
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: