Skip to content
Snippets Groups Projects
Verified Commit 40f6f91e authored by Zandor Smith's avatar Zandor Smith :computer:
Browse files

Fix type module not set on script tag in index.html from script 3.

parent e4b90599
No related branches found
No related tags found
No related merge requests found
......@@ -11,7 +11,7 @@ async function step03ProcessIndexHtml() {
if(!indexHtml.includes("./src/index.js")) {
indexHtml = indexHtml.replace(
"<div id=\"root\"></div>",
"<div id=\"root\"></div>\n\n <script src=\"./src/index.jsx\"></script>"
"<div id=\"root\"></div>\n\n <script type=\"module\" src=\"./src/index.jsx\"></script>"
);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment