Changed build info to be in JS instead of comments so it is not stripped during release build.
This commit is contained in:
parent
8b8ce27938
commit
ed188f3291
1 changed files with 3 additions and 2 deletions
|
|
@ -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>
|
||||||
Loading…
Reference in a new issue