Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

Commit 19a0c73

Browse files
authored
fix(client): restore paths for extension bundles (#63402)
When moving to ESBuild, the filenames for extension bundles changed, which led to broken bitbucket plugins for example. See [discussion](https://sourcegraph.slack.com/archives/C04MYFW01NV/p1718902092493689) ## Test plan <!-- All pull requests REQUIRE a test plan: https://docs-legacy.sourcegraph.com/dev/background-information/testing_principles --> Inspected the relevant target to see the paths in their proper location. ## Changelog <!-- 1. Ensure your pull request title is formatted as: $type($domain): $what 2. Add bullet list items for each additional detail you want to cover (see example below) 3. You can edit this after the pull request was merged, as long as release shipping it hasn't been promoted to the public. 4. For more information, please see this how-to https://www.notion.so/sourcegraph/Writing-a-changelog-entry-dd997f411d524caabf0d8d38a24a878c? Audience: TS/CSE > Customers > Teammates (in that order). Cheat sheet: $type = chore|fix|feat $domain: source|search|ci|release|plg|cody|local|... --> <!-- Example: Title: fix(search): parse quotes with the appropriate context Changelog section: ## Changelog - When a quote is used with regexp pattern type, then ... - Refactored underlying code. -->
1 parent 221f398 commit 19a0c73

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

client/web/dist/BUILD.bazel

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ copy_to_directory(
3434
"client/web/bundle": "",
3535
"client/web-sveltekit/build": "",
3636
"client/web/dist/img": "img",
37+
# We need to ensure we're keeping the old names, so older extensions are still working if ran against a newer Sourcegraph instance
38+
"client/browser/integration-assets/extension/js/nativeIntegration.main.bundle.js": "extension/scripts/integration.bundle.js",
39+
"client/browser/integration-assets/extension/js/phabricatorNativeIntegration.main.bundle.js": "extension/scripts/phabricator.bundle.js",
40+
"client/browser/integration-assets/extension/js/extensionHostWorker.bundle.js": "extension/scripts/extensionHostWorker.bundle.js",
3741
"client/browser/integration-assets": "",
3842
},
3943
)

0 commit comments

Comments
 (0)