mirror of
https://github.com/morluto/rea.git
synced 2026-11-03 21:36:13 +00:00
fix(javascript): distinguish HTML script loads from data
This commit is contained in:
1 parent
8694dc30d9
commit
83b2d16ee9
6 files changed
+114
-5
No files matched your search
@@ -435,9 +435,10 @@ const parseHtmlScripts = (
|
||||
const { scripts, inlineScripts, inlineScriptCount, baseHref } =
|
||||
htmlArtifactReferences(text);
|
||||
return {
|
||||
scripts: scripts.map(({ scriptPath, location }) => ({
|
||||
scripts: scripts.map(({ scriptPath, scriptType, location }) => ({
|
||||
html_path: path,
|
||||
script_path: scriptPath,
|
||||
script_type: scriptType,
|
||||
base_href: baseHref,
|
||||
location,
|
||||
})),
|
||||
|
||||
Reference in new issue
Block a user