<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title></title>
    <!-- holdover hack until browsers support module syntax-->
    <script src="node_modules/babel-core/browser-polyfill.js"></script>
    <script src="node_modules/requirejs/require.js"></script>
    <script>require(["dist/main.js"]);</script>
</head>
<body style="background-color: black">
<canvas id="screen" width="1300" height="750"></canvas>
<div id="measurement" style="width: 100px; background-color: white; color: black; text-align: center">100px</div>
</body>
</html>
<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title></title>
    <!-- holdover hack until browsers support module syntax-->
    <script src="node_modules/babel-core/browser-polyfill.js"></script>
    <script src="node_modules/requirejs/require.js"></script>
    <script src="dist/main.js"></script>
</head>
<body style="background-color: black">
<canvas id="screen" width="1300" height="750"></canvas>
<div id="measurement" style="width: 100px; background-color: white; color: black; text-align: center">100px</div>
</body>
</html>
Change require to browserify script loading
Change require to browserify script loading
