f6885fecfa
The regex /\bimport\(/g inside a template literal corrupts \b into a backspace and \( into (, producing an unterminated-group SyntaxError in the WebView. Use split().join() instead — no escape sequences, no corruption. Modern WebViews (Chrome 63+) keep the original clean <script>-tag path. Old WebViews (Karoo Chrome 61) take the fetch+patch+Blob path.