diff --git a/.vscode/launch.json b/.vscode/launch.json index ebfcdcc..562e9bb 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -11,8 +11,9 @@ "env": { "VSCODE_DEBUGGING_EXTENSION": "gitlens" }, + "cwd": "${workspaceFolder}", "outFiles": ["${workspaceFolder}/dist/**/*.js"], - "skipFiles": ["/**", "**/node_modules/**", "**/app/out/vs/**", "**/extensions/**"], + "skipFiles": ["/**", "**/node_modules/**", "**/resources/app/out/vs/**"], "smartStep": true, "sourceMaps": true }, @@ -25,8 +26,9 @@ "VSCODE_DEBUGGING_EXTENSION": "gitlens" }, "args": ["--extensionDevelopmentPath=${workspaceFolder}"], + "cwd": "${workspaceFolder}", "outFiles": ["${workspaceFolder}/dist/**/*.js"], - "skipFiles": ["/**", "**/node_modules/**", "**/app/out/vs/**", "**/extensions/**"], + "skipFiles": ["/**", "**/node_modules/**", "**/resources/app/out/vs/**"], "smartStep": true, "sourceMaps": true, "preLaunchTask": "npm: watch" diff --git a/webpack.config.js b/webpack.config.js index d35f4b6..5219e61 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -68,8 +68,7 @@ function getExtensionConfig(env) { devtool: 'source-map', output: { libraryTarget: 'commonjs2', - filename: 'extension.js', - devtoolModuleFilenameTemplate: 'file:///[absolute-resource-path]' + filename: 'extension.js' }, optimization: { minimizer: [