Skip to content

Commit ae30340

Browse files
committed
preload styles and scripts in dependency view
1 parent 3ae2f90 commit ae30340

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

vscode-wpilib/src/dependencyView.ts

+5
Original file line numberDiff line numberDiff line change
@@ -542,6 +542,11 @@ export class DependencyViewProvider implements vscode.WebviewViewProvider {
542542
<script type="module">
543543
${elements}
544544
</script>
545+
546+
<link rel="preload" href="${styleUri}" as="style">
547+
<link rel="preload" href="${codiconUri}" as="style">
548+
<link rel="preload" href="${scriptUri}" as="script">
549+
545550
<link rel="stylesheet" href="${styleUri}">
546551
<link rel="stylesheet" href="${codiconUri}" id="vscode-codicon-stylesheet">
547552
</head>

0 commit comments

Comments
 (0)