diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 77ae4dcdf..ce97d524e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 diff --git a/extensions/ql-vscode/gulpfile.ts/webpack.config.ts b/extensions/ql-vscode/gulpfile.ts/webpack.config.ts index 49988811d..c15b01f04 100644 --- a/extensions/ql-vscode/gulpfile.ts/webpack.config.ts +++ b/extensions/ql-vscode/gulpfile.ts/webpack.config.ts @@ -54,6 +54,9 @@ export const config: webpack.Configuration = { MiniCssExtractPlugin.loader, { loader: "css-loader", + options: { + sourceMap: true, + }, }, ], },