Changed build info to be in JS instead of comments so it is not stripped during release build.

This commit is contained in:
Jeremy-Z 2026-06-11 12:30:43 -04:00
parent 8b8ce27938
commit ed188f3291

View file

@ -4,6 +4,9 @@
<head> <head>
<script> <script>
window.dataLayer = [{}]; window.dataLayer = [{}];
var buildVersion = '<%= __BUILD_INFO__.versionString %>';
var buildTime = '<%= __BUILD_INFO__.buildTimeLocal %>';
</script> </script>
<script> <script>
window.gm_authFailure = function () { window.gm_authFailure = function () {
@ -46,7 +49,5 @@
</noscript> </noscript>
<div id="app"></div> <div id="app"></div>
<!-- built files will be auto injected --> <!-- built files will be auto injected -->
<!-- Build Version: <%= __BUILD_INFO__.versionString %> -->
<!-- Build Time: <%= __BUILD_INFO__.buildTimeLocal %> -->
</body> </body>
</html> </html>