Add hot reload

This commit is contained in:
Andras Schmelczer 2023-04-15 14:47:02 +01:00
commit 9cf8f73e18
No known key found for this signature in database
GPG key ID: FC8F2C3D3D1A718C
17 changed files with 20009 additions and 2656 deletions

View file

@ -1,28 +0,0 @@
<!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset="UTF-8" />
<title>WebGPU Hello Triangle</title>
<style>
html,
body {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
background: #000;
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
}
</style>
</head>
<body>
<canvas id="gfx"></canvas>
<script type="text/javascript" src="dist/main.js"></script>
</body>
</html>