skirda-go-launcher-interface/index-html-transform.js
2022-10-16 17:59:36 +03:00

7 lines
242 B
JavaScript

module.exports = async (targetOptions, indexHtmlContent) => {
indexHtmlContent = indexHtmlContent.replaceAll("type=\"module\"",
"");
indexHtmlContent = indexHtmlContent.replaceAll("<base href=\"/\">", "")
return indexHtmlContent;
}