Skip to content

Commit 155aeff

Browse files
committed
fix: do not minify the client code
When switching from rollup to esbuild, we enabled minification of the client code for the first time. This ended up breaking the extension on Windows machines. This commit removes the minification and should resolve the broken activation on Windows. Fixes #1198
1 parent da3fbc7 commit 155aeff

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

esbuild.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ const clientConfig = {
2121
'vscode-jsonrpc',
2222
],
2323
format: 'cjs',
24-
minify: true,
24+
// Do not enable minification. It seems to break the extension on Windows (with WSL). See #1198.
25+
minify: false,
2526
};
2627

2728
/** @type esbuild.BuildOptions */

0 commit comments

Comments
 (0)