I am currently working on someone else's codebase and I have encountered this:
<!-- compiled CSS --><% styles.forEach( function ( file ) { %>
<link rel="stylesheet" type="text/css" href="<%=appRoot%>/<%= file %>" /><%});%>
<!-- compiled JavaScript --><% scripts.forEach( function ( file ) { %>
<script type="text/javascript" src="<%=appRoot%>/<%= file %>"></script><% }); %>
</head>
<body data-version="<%=version%>">
I am sure its related to the grunt build but I need to understand the importance of using EJS in this implementation.