Skip to content

Instantly share code, notes, and snippets.

View AhmedElbatt's full-sized avatar

Ahmed Elbatt AhmedElbatt

View GitHub Profile
@dreyescat
dreyescat / index.html
Created December 18, 2015 18:02
Webpack config to expose bundle in a variable in the global context
<html>
<head>
</head>
<body>
<script src="lib/yourlib.js"></script>
<script>
window.onload = function () {
EntryPoint.run();
};
</script>