Quellcode durchsuchen

Adds better sourcemap support

main
Eric Amodio vor 5 Jahren
Ursprung
Commit
39f6830680
2 geänderte Dateien mit 5 neuen und 4 gelöschten Zeilen
  1. +4
    -2
      .vscode/launch.json
  2. +1
    -2
      webpack.config.js

+ 4
- 2
.vscode/launch.json Datei anzeigen

@ -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 Datei anzeigen

@ -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: [

Laden…
Abbrechen
Speichern