How does gulp Add Version Number Identify Paths with Backend Template Variables in jsp

  node.js, question

My jsp page uses back-end template variables to refer to static resources such as js css.
As follows:

<link rel="stylesheet" type="text/css" href="${url_resources}/css/commQuery/commQuery.css">
 <script type="text/javascript" src="${url_resources}/js/jquery.min.js"></script>

The gulp is now used for packaging and adding version numbers, but the backend template variable with ${url_resources} is not recognized;
Can gulp be configured to recognize backend template variables?

PS: Relative paths cannot be used in the project, because it is a header jsp that is unified in the head of each page and introduced by the include method. This header jsp introduces many common js components, so the backend template variables must be used.

Write your own plug-in, use through mechanism, js regular matching will do