mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-01 07:42:38 +08:00
20 lines
619 B
Plaintext
20 lines
619 B
Plaintext
<% if (webDebuggerSrc) { %>
|
|
<script src="<%=webDebuggerSrc%>"></script>
|
|
<script type="text/javascript">
|
|
// open web debugger console
|
|
window.VConsole && (window.vConsole = new VConsole());
|
|
</script>
|
|
<% } %>
|
|
<!-- Polyfills bundle. -->
|
|
<script src="<%= polyfillsBundleFile %>" charset="utf-8"> </script>
|
|
|
|
<!-- SystemJS support. -->
|
|
<script src="<%= systemJsBundleFile %>" charset="utf-8"> </script>
|
|
|
|
<!-- Import map -->
|
|
<script src="<%= importMapFile%>" type="systemjs-importmap" charset="utf-8"> </script>
|
|
|
|
<script>
|
|
System.import('./<%= indexJsName %>').catch(function(err) { console.error(err); })
|
|
</script>
|