mirror of
https://github.com/microsoft/vscode.git
synced 2026-02-14 23:18:36 +00:00
22 lines
801 B
TypeScript
22 lines
801 B
TypeScript
/*---------------------------------------------------------------------------------------------
|
|
* 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', 'browser');
|
|
|
|
run({
|
|
platform: 'browser',
|
|
entryPoints: {
|
|
'extension': path.join(srcDir, 'extension.ts'),
|
|
},
|
|
srcDir,
|
|
outdir: outDir,
|
|
additionalOptions: {
|
|
tsconfig: path.join(import.meta.dirname, 'tsconfig.browser.json'),
|
|
},
|
|
}, process.argv);
|