Skip to content

Conversation

@kylewalke
Copy link

What does this PR do?

  • Removed scripts/post-build.js and integrated its functionality directly into tsup.config.ts
  • Updated VSCode extension build pipeline to use tsup's onSuccess callback for post-build tasks

The post-build script previously handled three key tasks after bundling:

  1. Copying worker files from apex-ls/dist to extension/dist
  2. Copying manifest files and resources to dist directory
  3. Fixing package.json paths for VSCode extension loading

These tasks are now executed via the executePostBuildTasks() function called through tsup's onSuccess hook, eliminating the external script dependency while maintaining identical functionality.

What issues does this PR fix or reference?

@W-19653425@

@kylewalke kylewalke requested a review from a team as a code owner September 16, 2025 20:55
@kylewalke kylewalke changed the base branch from main to tdx26/main September 16, 2025 20:56
@kylewalke kylewalke merged commit 43328df into tdx26/main Sep 17, 2025
7 of 22 checks passed
@kylewalke kylewalke deleted the kyledev/removepostbuildjs branch September 17, 2025 21:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants