We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b56ddda commit bf9339bCopy full SHA for bf9339b
2 files changed
package.json
@@ -45,6 +45,7 @@
45
"eslint-plugin-jsdoc": "^39.3.6",
46
"pug": "^3.0.2",
47
"shelljs": "^0.8.5",
48
+ "ts-node": "^10.9.1",
49
"vsce": "^2.11.0",
50
"webpack": "^5.74.0",
51
"webpack-cli": "^4.10.0"
src/webview.js
@@ -27,10 +27,10 @@ class SpecWebviewPanel {
27
return
28
}
29
30
- const panelSetting = { enableScripts: true, enableCommandUris: true }
+ const panelSetting = { enableScripts: true }
31
32
if (os.platform() == 'darwin') {
33
- panelSetting.localResourceRoots = [Uri.file(workspace.workspaceFolders[0].uri.fsPath)]
+ panelSetting.localResourceRoots = [Uri.file(__dirname), Uri.file(workspace.workspaceFolders[0].uri.fsPath)]
34
35
36
const viewColumn = column || ViewColumn.One
0 commit comments