I'm making a VSCode extension that requires a compiled program (let's call it program A) to be shipped with the extension, but the build file is getting too large.
That is: on each OS platform, I have to include an x64 and an arm64 version to allow the extension to run on those machines.

The extension logic itself is not heavy, but the program A is much heavier. I don't think shipping the extension with the 6 compiled versions of program A is a good choice.

So I'm thinking of a way to make 3 platform-specific versions of the extension, each with 2 compiled versions of program A (x64 and arm64). Each version will only show on the correct platform.

2 Replies 2

Have you seen https://github.com/microsoft/vscode-platform-specific-sample/tree/main and https://code.visualstudio.com/api/working-with-extensions/publishing-extension#platformspecific-extensions for platform-specific extensions?

Your Reply

By clicking “Post Your Reply”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.