Skip to content

Commit

Permalink
Add --no-dependencies to vsce package (#1255)
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
djgould committed May 10, 2024
1 parent 6a10a8e commit 7908d75
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions extensions/vscode/scripts/package.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 7908d75

Please sign in to comment.