tedious / JShrink

Javascript Minifier built in PHP
http://www.tedivm.com
BSD 3-Clause "New" or "Revised" License
751 stars 152 forks source link

Error when using string literals inside of template literals #69

Closed atomicptr closed 6 years ago

atomicptr commented 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`;");
Igloczek commented 6 years ago

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

tedivm commented 6 years ago

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