skirda-go-launcher-interface/index-html-transform.js

7 lines
242 B
JavaScript
Raw Normal View History

2022-10-16 14:59:36 +00:00
module.exports = async (targetOptions, indexHtmlContent) => {
indexHtmlContent = indexHtmlContent.replaceAll("type=\"module\"",
"");
indexHtmlContent = indexHtmlContent.replaceAll("<base href=\"/\">", "")
return indexHtmlContent;
}