Преглед изворни кода

Adds better sourcemap support

main
Eric Amodio пре 5 година
родитељ
комит
39f6830680
2 измењених фајлова са 5 додато и 4 уклоњено
  1. +4
    -2
      .vscode/launch.json
  2. +1
    -2
      webpack.config.js

+ 4
- 2
.vscode/launch.json Прегледај датотеку

@ -11,8 +11,9 @@
"env": {
"VSCODE_DEBUGGING_EXTENSION": "gitlens"
},
"cwd": "${workspaceFolder}",
"outFiles": ["${workspaceFolder}/dist/**/*.js"],
"skipFiles": ["<node_internals>/**", "**/node_modules/**", "**/app/out/vs/**", "**/extensions/**"],
"skipFiles": ["<node_internals>/**", "**/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_internals>/**", "**/node_modules/**", "**/app/out/vs/**", "**/extensions/**"],
"skipFiles": ["<node_internals>/**", "**/node_modules/**", "**/resources/app/out/vs/**"],
"smartStep": true,
"sourceMaps": true,
"preLaunchTask": "npm: watch"

+ 1
- 2
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: [

Loading…
Откажи
Сачувај