Skip to content

Commit

Permalink
Support sourcemaps in bundled sources
Browse files Browse the repository at this point in the history
  • Loading branch information
tortmayr committed May 30, 2023
1 parent df30174 commit 7641839
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,15 @@
"--extensionDevelopmentPath=${workspaceFolder}/tasklist-vscode/extension"
],
"outFiles": [
"${workspaceFolder}/tasklist-vscode/extension/pack/extension.js",
"${workspaceFolder}/tasklist-vscode/extension/lib/*.js",
"${workspaceFolder}/node_modules/@eclipse-glsp/*/lib/**/*.js",
"${workspaceFolder}/node_modules/@eclipse-glsp/*/lib/*.js"
],
"sourceMaps": true
"sourceMaps": true,
"sourceMapPathOverrides": {
"webpack://eclipse-glsp-tasklist-vscode/(.+)": "${workspaceFolder}/tasklist-vscode/extension/$1"
},
},
{
"name": "Launch TaskList Diagram Extension (External GLSP Server)",
Expand All @@ -40,4 +44,4 @@
}
}
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const config = {
filename: 'extension.js',
libraryTarget: 'commonjs2'
},
devtool: 'eval-source-map',
devtool: 'source-map',
externals: {
vscode: 'commonjs vscode'
},
Expand Down

0 comments on commit 7641839

Please sign in to comment.