Closed kraabrsg closed 1 year ago
Thank you for creating a bug report. We will investigate the bug and evaluate its impact on the product. If you haven't already, please ensure you have provided steps to reproduce the bug and as much context as possible.
Describe the bug
since Version 7.7.0 (i think) several modules cannot be built in a vscode extension (eslint) and have to be defined external (keytar way longer )
build script (via "vsce package" runs "esbuild-base" and then minify) :
dependencies (we tried: 7.7.0, 7,8,0 and 7.9.0 ) :
To fix this errors we declared these libs as external and included the node packages, which raises the size of vsix file from 6 mb to 48 mb (this could be reduce, by manually tryouts what is needed).
Maybe related to: https://github.com/zowe/zowe-cli/issues/1295
https://github.com/zowe/zowe-cli/blob/master/packages/cli/scripts/preinstall.js
Expected and actual results
how to avoid bundling these libraries (keytar, cpufeatures, sshcrpypto) as external with eslint ?
Describe your environment
WIN 10: node: 18.12.1 vscode extension
Additional context
Thank you!