Closed panuganti closed 8 years ago
The generated code doesn't run in browsers. It's intended only for the node v6 target.
I'm sure there's a way of making everything work in browsers but that's beyond the scope of this example.
<html>
<head>
<script src="lib/await.js"></script>
</head>
<body>
</body>
</html>
You need to include an index.html so that anyone who is trying to use your repo can quickly check the final js file generated is working or not