Port github extension to use esbuild

Had to make same fixes as with #296355. We can't pull in const enums from a d.ts file like this
This commit is contained in:
Matt Bierner
2026-03-02 11:28:35 -08:00
parent 83601ca509
commit 9e0a44acc3
17 changed files with 130 additions and 34 deletions

View File

@@ -4,7 +4,8 @@
*--------------------------------------------------------------------------------------------*/
import * as vscode from 'vscode';
import { API as GitAPI, RefType, Repository } from './typings/git.js';
import { RefType } from './typings/git.constants.js';
import type { API as GitAPI, Repository } from './typings/git.d.ts';
import { publishRepository } from './publish.js';
import { DisposableStore, getRepositoryFromUrl } from './util.js';
import { LinkContext, getCommitLink, getLink, getVscodeDevHost } from './links.js';