Polish all files (excl. CoreBrowserTerminal/Viewport)

This commit is contained in:
Daniel Imms
2024-07-10 08:08:02 -07:00
parent ade5591d60
commit d1d25a5bf7
5 changed files with 17 additions and 15 deletions
+2 -4
View File
@@ -172,10 +172,8 @@ if (config.addon) {
};
outConfig = {
...outConfig,
entryPoints: [
`src/**/*.ts`
],
outdir: 'out-esbuild/',
entryPoints: ['src/**/*.ts'],
outdir: 'out-esbuild/'
};
outTestConfig = {
...outConfig,
+1
View File
@@ -25,6 +25,7 @@ function findUnusedSymbols(
const allFilesInBase = (
fs.readdirSync('src/vs/base', { recursive: true, withFileTypes: true })
.filter(e => e.isFile())
// @ts-ignore HACK: This is only available in Node 20
.map(e => `${e.parentPath}/${e.name}`.replace(/\\/g, '/'))
);
const unusedFilesInBase = allFilesInBase.filter(e => !usedFilesInBase.includes(e));