When gulp compresses and merges css/js, how can the path referencing the compressed css/js be automatically modified?

  node.js, question

For example, a.js and b.js are quoted in A.html under src file.
I merged a.js and b.js and threw them into dest directory to become c.js.
How to set, let the two js(a.js,b.js) file paths in this A.html be abolished, and c.js can be automatically referenced?

Why not write directly

<script type="text/javascript" src="../dist/c.js"></script>