diff --git a/.vscodeignore b/.vscodeignore index c6a2309..b327db7 100644 --- a/.vscodeignore +++ b/.vscodeignore @@ -6,6 +6,7 @@ .yarn/** dist/webviews/*.css emoji/** +images/docs/sponsors/** images/docs/gitlens-preview.gif images/icons/** images/originals/** @@ -16,11 +17,13 @@ scripts/** src/** test/** **/*.fig +**/*.map **/*.pdn **/*.js.LICENSE.txt .eslintcache .eslintignore .eslintrc.json +.fantasticonrc.js .gitattributes .gitignore .gitignore-revs @@ -28,10 +31,12 @@ test/** .prettierignore .prettierrc .yarnrc +BACKERS.md CODE_OF_CONDUCT.md CONTRIBUTING.md esbuild.js README.insiders.md +svgo.config.js tsconfig*.json tsconfig*.tsbuildinfo webpack.config*.js diff --git a/CHANGELOG.md b/CHANGELOG.md index 7168922..11e519b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -43,6 +43,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p ### Fixed +- Fixes [#2156](https://github.com/gitkraken/vscode-gitlens/issues/2156) - Reduce extension package size - Fixes [#2136](https://github.com/gitkraken/vscode-gitlens/issues/2136) - Search & Compare quickpick shouldn't select the mode text when opening - Fixes [#1896](https://github.com/gitkraken/vscode-gitlens/issues/1896) - Cannot read property 'fsPath' of undefined - Fixes [#1550](https://github.com/gitkraken/vscode-gitlens/issues/1550) - Push button in commit widget does not trigger "Push force" when ALT is pressed. diff --git a/webpack.config.js b/webpack.config.js index 622620b..e8e0d69 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -124,7 +124,7 @@ function getExtensionConfig(target, mode, env) { }, mode: mode, target: target, - devtool: 'source-map', + devtool: mode === 'production' ? false : 'source-map', output: { path: target === 'webworker' ? path.join(__dirname, 'dist', 'browser') : path.join(__dirname, 'dist'), libraryTarget: 'commonjs2', @@ -331,7 +331,7 @@ function getWebviewsConfig(mode, env) { }, mode: mode, target: 'web', - devtool: 'source-map', + devtool: mode === 'production' ? false : 'source-map', output: { filename: '[name].js', path: path.join(__dirname, 'dist', 'webviews'), @@ -411,14 +411,14 @@ function getWebviewsConfig(mode, env) { { loader: 'css-loader', options: { - sourceMap: true, + sourceMap: mode !== 'production', url: false, }, }, { loader: 'sass-loader', options: { - sourceMap: true, + sourceMap: mode !== 'production', }, }, ],