Switch to rollup for bundling

This commit is contained in:
asraelite 2018-03-02 17:23:19 +00:00
parent fc8d282509
commit cfe9c55c9a
16 changed files with 131 additions and 7 deletions

16
dist/index.html vendored Normal file
View file

@ -0,0 +1,16 @@
<!doctype html>
<html>
<head>
<script src="/dist/dd2922ce6bb581a5f22cc6eb6de8fbe5.js"></script>
<link rel="stylesheet" type="text/css" href="/dist/97e037a117f43629cc2bc6aefab64b3e.css">
<script src="/dist/97e037a117f43629cc2bc6aefab64b3e.js"></script></head>
<body>
<div id="container">
<canvas id="main"></canvas>
<canvas id="temp"></canvas>
</div>
</body>
</html>

25
dist/styles.css vendored Normal file
View file

@ -0,0 +1,25 @@
body {
margin: 0;
overflow: hidden;
background-color: #222;
}
#container {
height: 100vh;
width: 100%;
display: flex;
justify-content: center;
align-items: center;
}
#main {
width: 600px;
height: 600px;
margin: 50px auto;
border: 2px solid #111;
background-color: #fff;
}
#temp {
display: none;
}