Add support for ES6 module JavaScript resources

This commit is contained in:
Shaun Walker
2022-02-19 17:24:41 -05:00
parent a84b497fae
commit b68e3cb10f
4 changed files with 11 additions and 4 deletions

View File

@ -232,6 +232,9 @@ Oqtane.Interop = {
if (path === scripts[s].href && scripts[s].crossorigin !== '') {
element.crossOrigin = scripts[s].crossorigin;
}
if (path === scripts[s].href && scripts[s].ismodule === true) {
element.type = "module";
}
}
}
})