This PR addresses #374 . This PR includes the following changes:
-Add Content security policy for scripts with meta tag to only load vscode ressources scripts
-Load local script ressources on Webview using Webview.asWebviewUri function instead of hardcoding vscode-resources.
-Changes have been made to the configuration of webpack to not use eval on dev which is forbidden by the content security policy
This PR addresses #374 . This PR includes the following changes:
-Add Content security policy for scripts with meta tag to only load vscode ressources scripts -Load local script ressources on Webview using Webview.asWebviewUri function instead of hardcoding vscode-resources. -Changes have been made to the configuration of webpack to not use eval on dev which is forbidden by the content security policy
The changes follow this sample from the vscode extension team: https://github.com/Microsoft/vscode-extension-samples/blob/master/webview-sample/README.md
Testing scenarios : These can be done on the html document loaded into the web view in src/service/webviewService.ts
`