Skip to content

Commit

Permalink
fix(vscode): Add base path for svgs and remove duplicated code (#4958)
Browse files Browse the repository at this point in the history
Add base path and remove duplicated code
  • Loading branch information
ccastrotrejo authored Jun 10, 2024
1 parent 529a6ce commit 47cf368
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,4 @@ export abstract class OpenMonitoringViewBase extends OpenDesignerBase {
protected getExistingPanel(): WebviewPanel | undefined {
return tryGetWebviewPanel(this.panelGroupKey, this.panelName);
}

protected getPanelOptions(): vscode.WebviewOptions & vscode.WebviewPanelOptions {
return {
enableScripts: true,
retainContextWhenHidden: true,
};
}
}
1 change: 1 addition & 0 deletions apps/vs-code-react/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import mkcert from 'vite-plugin-mkcert';
// https://vitejs.dev/config/
export default defineConfig({
root: './src',
base: './',
resolve: {
alias: [
{
Expand Down

0 comments on commit 47cf368

Please sign in to comment.