Skip to content

Commit 00bf6a3

Browse files
authored
Merge pull request RooCodeInc#1297 from RooVetGit/fix_mermaid
Add type='module' to webview script
2 parents d70c3e0 + e6a49dd commit 00bf6a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/webview/ClineProvider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,7 @@ export class ClineProvider implements vscode.WebviewViewProvider {
509509
<body>
510510
<noscript>You need to enable JavaScript to run this app.</noscript>
511511
<div id="root"></div>
512-
<script nonce="${nonce}" src="${scriptUri}"></script>
512+
<script nonce="${nonce}" type="module" src="${scriptUri}"></script>
513513
</body>
514514
</html>
515515
`

0 commit comments

Comments
 (0)