@@ -347,18 +347,15 @@ export class TableView {
347
347
* @returns Html string for the webview content.
348
348
*/
349
349
private getWebviewContent ( webview : Webview , extensionUri : Uri ) : string {
350
- // create webview UI toolkitUri
351
- const webviewUiToolkitUri : Uri = fileUtils . getWebviewUri ( webview , extensionUri , [
352
- 'node_modules' ,
353
- '@vscode' ,
354
- 'webview-ui-toolkit' ,
355
- 'dist' ,
356
- 'toolkit.js' ,
357
- ] ) ;
350
+ // create webview UI toolkit Uri
351
+ const webviewUiToolkitUri : Uri =
352
+ fileUtils . getWebviewUri ( webview , extensionUri , [ 'web' , 'scripts' , 'toolkit.min.js' ] ) ;
358
353
359
354
// create table view script and styles Uris
360
- const tableViewScriptUri : Uri = fileUtils . getWebviewUri ( webview , extensionUri , [ 'web' , 'scripts' , 'tableView.js' ] ) ;
361
- const tableViewStylesUri : Uri = fileUtils . getWebviewUri ( webview , extensionUri , [ 'web' , 'styles' , 'table-view.css' ] ) ;
355
+ const tableViewScriptUri : Uri =
356
+ fileUtils . getWebviewUri ( webview , extensionUri , [ 'web' , 'scripts' , 'tableView.js' ] ) ;
357
+ const tableViewStylesUri : Uri =
358
+ fileUtils . getWebviewUri ( webview , extensionUri , [ 'web' , 'styles' , 'table-view.css' ] ) ;
362
359
363
360
// get CSP (Content-Security-Policy) source link for this webview
364
361
const cspSource : string = this . webviewPanel . webview . cspSource ;
0 commit comments