compress bundled js

This commit is contained in:
AlecM33
2023-03-11 17:07:31 -05:00
parent ed7beb50a5
commit e0986cefde
16 changed files with 223 additions and 25 deletions

View File

@@ -27,6 +27,6 @@
<h3>The game or other resource that you are looking for could not be found, or you don't have permission to access it.
Old games are periodically cleared.</h3>
</div>
<script src="/dist/notFound-bundle.js"></script>
<script src="/dist/notFound-bundle.js.gz"></script>
</body>
</html>

View File

@@ -23,6 +23,6 @@
<div id="mobile-menu-background-overlay"></div>
<div id="navbar"></div>
<div id="game-creation-container" class="container"></div>
<script src="/dist/create-bundle.js"></script>
<script src="/dist/create-bundle.js.gz"></script>
</body>
</html>

View File

@@ -20,8 +20,8 @@
<link rel="preload" href="/webfonts/SignikaNegative-Light.woff2" as="font" type="font/woff2" crossorigin>
</head>
<body>
<script src="/dist/game-bundle.js"></script>
<script src="/socket.io/socket.io.js"></script>
<script src="/dist/game-bundle.js.gz"></script>
<script src="/socket.io/socket.io.min.js"></script>
</body>
</html>

View File

@@ -59,6 +59,6 @@
<a aria-label="email the creator with questions" href="mailto:play.werewolf.contact@gmail.com?Subject=Werewolf App" target="_top"><img alt="email" src='/images/email.svg'/></a>
</div>
</footer>
<script src="/dist/home-bundle.js"></script>
<script src="/dist/home-bundle.js.gz"></script>
</body>
</html>

View File

@@ -143,6 +143,6 @@
<br><br>
</div>
</div>
<script src="/dist/howToUse-bundle.js"></script>
<script src="/dist/howToUse-bundle.js.gz"></script>
</body>
</html>

View File

@@ -51,7 +51,7 @@
</div>
</form>
</div>
<script src="/dist/join-bundle.js"></script>
<script src="/dist/join-bundle.js.gz"></script>
</body>
</html>