systemjs metadata loader es6 resolve module code example
Example: load +main.js with system.import
<script type="text/javascript" src="/system.js"></script>
<script type="text/javascript">
System.import('./build/main.js');
</script>
<script type="text/javascript" src="/system.js"></script>
<script type="text/javascript">
System.import('./build/main.js');
</script>