Upload sourcemaps for release builds

To allow us to reconstruct a stack trace, this will upload the
sourcemaps for all release builds.
This commit is contained in:
Koen Vlaswinkel
2023-01-16 10:58:00 +01:00
parent f6f8b68ce9
commit b4bb1b6ad7
2 changed files with 9 additions and 0 deletions

View File

@@ -59,6 +59,12 @@ jobs:
name: vscode-codeql-extension
path: artifacts
- name: Upload source maps
uses: actions/upload-artifact@v3
with:
name: vscode-codeql-sourcemaps
path: dist/vscode-codeql/out/*.map
# TODO Run tests, or check that a test run on the same branch succeeded.
- name: Create release

View File

@@ -54,6 +54,9 @@ export const config: webpack.Configuration = {
MiniCssExtractPlugin.loader,
{
loader: "css-loader",
options: {
sourceMap: true,
},
},
],
},