transforming after angular build added

This commit is contained in:
wagonsoftware 2022-10-16 17:59:36 +03:00
parent 72f515dcce
commit b00e28e7d1

6
index-html-transform.js Normal file
View File

@ -0,0 +1,6 @@
module.exports = async (targetOptions, indexHtmlContent) => {
indexHtmlContent = indexHtmlContent.replaceAll("type=\"module\"",
"");
indexHtmlContent = indexHtmlContent.replaceAll("<base href=\"/\">", "")
return indexHtmlContent;
}