Skip to content

Commit e6a49dd

Browse files
committed
Add type='module' to webview script
1 parent d70c3e0 commit e6a49dd

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)