1
0
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:
Kushagra Gour
2024-05-10 14:00:05 +05:30
parent 471e8249bd
commit 4b10a26a1d
2 changed files with 4 additions and 3 deletions

View File

@@ -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="' +