Skip to content

Commit

Permalink
dependency: move from webpack to vite
Browse files Browse the repository at this point in the history
fix: restart button now close the modal

docs: added more comments/description

issues: electron-js commands are now broken due to migrating to vite
  • Loading branch information
uyen18827 committed Sep 2, 2021
1 parent 54e19b2 commit 1d49a53
Show file tree
Hide file tree
Showing 10 changed files with 3,691 additions and 15,861 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ Thumbs.db
/src/save for later
/dist/save for later
# /dist/
dist/
/build/BuildGUI
*.exe
!buildGUI.exe
Expand Down
2 changes: 1 addition & 1 deletion electron-src/bundle.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion electron-src/bundle.js.map

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ <h5 class="modal-title" id="exampleModalLabel"><i class="bi bi-gear"></i> Settin
Clear your progress and start over
</div>
<div class="col-5" style="text-align: center">
<button type="button" class="btn btn-sm btn-danger restartBtn">Restart Game</button>
<button type="button" class="btn btn-sm btn-danger restartBtn" data-bs-dismiss="modal">Restart Game</button>
</div>
</div>
<hr>
Expand Down Expand Up @@ -270,6 +270,7 @@ <h6 style="text-align: center">Description</h6>
</div>
</div>
<!-- ./Inventory modal -->
<script src="/src/core/script/index.ts" type="module"></script>
</body>

</html>
Loading

0 comments on commit 1d49a53

Please sign in to comment.