non-JavaScript MIME error for JS files bundled with Vite

Hello, has someone built the react app for Tizen TV with vite? I keep getting this error in the logs when I try to run the app on the TV

Failed to load module script: The server responded with a non-JavaScript
MIME type of "". Strict MIME type checking is enforced for module scripts per HTML spec.

I’m wondering whether the way Vite makes polypills doesn’t work for Tizen TV. Has someone seen something like that?

<script type="module" crossorigin src="{url}"></script>
		<script type="module">import.meta.url;import("_").catch(()=>1);(async function*(){})().next();if(location.protocol!="file:"){window.__vite_is_modern_browser=true}</script>
		<script type="module">!function(){if(window.__vite_is_modern_browser)return;console.warn("vite: loading legacy chunks, syntax error above and the same error below should be ignored");var e=document.getElementById("vite-legacy-polyfill"),n=document.createElement("script");n.src=e.src,n.onload=function(){System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))},document.body.appendChild(n)}();</script>
	</head>
	<body>
		<div id="cssAppLoader"></div>
		<div id="root"></div>
		<script nomodule>!function(){var e=document,t=e.createElement("script");if(!("noModule"in t)&&"onbeforeload"in t){var n=!1;e.addEventListener("beforeload",(function(e){if(e.target===t)n=!0;else if(!e.target.hasAttribute("nomodule")||!n)return;e.preventDefault()}),!0),t.type="module",t.src=".",e.head.appendChild(t),t.remove()}}();</script>
		<script nomodule crossorigin id="vite-legacy-polyfill" src="{url}"></script>
		<script nomodule crossorigin id="vite-legacy-entry" data-src="{url}">System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))</script>
	</body>

Hello
Please login to Seller Office TV (https://seller.samsungapps.com/tv ) and Ask Question in the 1:1 Q&A section

Hello, that was the first thing I did, here’s the reply:

"Dear developer,

We have no other suggestions because we do not support the official given building tool.

Please check also reply at GitHub Build files not found net::ERR_ABORTED 404 · Issue #285 · tschaub/gh-pages · GitHub (Build files not found net::ERR_ABORTED 404 · Issue #285 · tschaub/gh-pages · GitHub) .

"