Updates for Webpack 5 support + HMR during dev

This commit is contained in:
Elio Struyf
2021-12-16 13:31:30 +01:00
parent 41cbcc4c46
commit 2d85b0a554
35 changed files with 4863 additions and 6894 deletions
+1 -1
View File
@@ -695,7 +695,7 @@ export class ExplorerView implements WebviewViewProvider, Disposable {
const styleVSCodeUri = webView.asWebviewUri(Uri.joinPath(this.extPath, 'assets/media', 'vscode.css'));
const styleResetUri = webView.asWebviewUri(Uri.joinPath(this.extPath, 'assets/media', 'reset.css'));
const stylesUri = webView.asWebviewUri(Uri.joinPath(this.extPath, 'assets/media', 'styles.css'));
const scriptUri = webView.asWebviewUri(Uri.joinPath(this.extPath, 'dist', 'viewpanel.js'));
const scriptUri = webView.asWebviewUri(Uri.joinPath(this.extPath, 'dist', 'panelWebView.js'));
const nonce = WebviewHelper.getNonce();