mirror of
https://github.com/chinchang/web-maker.git
synced 2025-07-26 16:20:09 +02:00
load screenlog before external JS
This commit is contained in:
@@ -406,8 +406,6 @@ export function getCompleteHtml(html, css, js, item, isForExport) {
|
||||
'</head>\n' +
|
||||
'<body>\n' +
|
||||
html +
|
||||
'\n' +
|
||||
externalJs +
|
||||
'\n';
|
||||
|
||||
if (!isForExport) {
|
||||
@@ -421,6 +419,8 @@ export function getCompleteHtml(html, css, js, item, isForExport) {
|
||||
'"></script>';
|
||||
}
|
||||
|
||||
contents += '\n' + externalJs;
|
||||
|
||||
if (item.jsMode === JsModes.ES6) {
|
||||
contents +=
|
||||
'<script src="' +
|
||||
|
Reference in New Issue
Block a user