Revert "Revert "Port github extension to use esbuild" (#298920)"

This reverts commit 51f5cafd6f.
This commit is contained in:
Matt Bierner
2026-03-09 08:10:36 -07:00
parent 4a4e6624c3
commit 13a604e50c
17 changed files with 130 additions and 34 deletions

View File

@@ -0,0 +1,19 @@
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import * as path from 'node:path';
import { run } from '../esbuild-extension-common.mts';
const srcDir = path.join(import.meta.dirname, 'src');
const outDir = path.join(import.meta.dirname, 'dist');
run({
platform: 'node',
format: 'esm',
entryPoints: {
'extension': path.join(srcDir, 'extension.ts'),
},
srcDir,
outdir: outDir,
}, process.argv);