Generate NOTICES.TXT and surface via command (#5310)

This commit is contained in:
Shreya Keshive
2025-08-03 16:19:34 -04:00
committed by GitHub
parent 0335ce5ecc
commit 4f69b2d8dc
7 changed files with 255 additions and 6 deletions

View File

@@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/
const esbuild = require('esbuild');
import esbuild from 'esbuild';
const production = process.argv.includes('--production');
const watch = process.argv.includes('--watch');
@@ -40,7 +40,7 @@ async function main() {
sourcemap: !production,
sourcesContent: false,
platform: 'node',
outfile: 'dist/extension.js',
outfile: 'dist/extension.cjs',
external: ['vscode'],
logLevel: 'silent',
plugins: [