JS merge compression related


tmt-workflow uses gulp-usemin2 as a JS file merging and compression tool to reduce requests.

You only need to write according to the following code structure:

<!-- build:js ../js/build.js -->
<script src="../js/lib.js"></script>
<script src="../js/workflow.js"></script>
<!-- endbuild -->

In the src directory, if you want to merge and compress which js in build_dist, you only need to use two comments Wrap it up and write the path and name generated after merging and compressing it.