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:
Родитель
f6f8b68ce9
Коммит
b4bb1b6ad7
|
@ -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
|
||||
|
|
|
@ -54,6 +54,9 @@ export const config: webpack.Configuration = {
|
|||
MiniCssExtractPlugin.loader,
|
||||
{
|
||||
loader: "css-loader",
|
||||
options: {
|
||||
sourceMap: true,
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
|
|
Загрузка…
Ссылка в новой задаче