Add --no-dependencies to vsce package (#1255)

This is not needed because we bundle first with esbuild, and
vsce pack has issues with modern package managers.

see: microsoft/vscode-vsce#421 (comment)
This commit is contained in:
Devin Gould 2024-05-10 13:27:52 -04:00 • committed by GitHub
parent 6a10a8e5cd
commit 7908d75510
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -9,8 +9,8 @@ if (!fs.existsSync("build")) {
}
const command = isPreRelease
? "npx vsce package --out ./build patch --pre-release" // --yarn"
: "npx vsce package --out ./build patch"; // --yarn";
? "npx vsce package --out ./build patch --pre-release --no-dependencies" // --yarn"
: "npx vsce package --out ./build patch --no-dependencies"; // --yarn";
exec(command, (error) => {
if (error) throw error;