My project consists of javascripts of two different types:
- External regular .js files.
<script>
code embedded into PHP code, some parts of javascript are generated from PHP, like:
var a = <?php echo Res::a; ?>;
Now I want to obfuscate/minify the whole project: both external and embedded javascripts and PHP itself. Unfortunately, all tools I've seen work with single .js files.