chore: fix 'npm run watch' memory leak in esbuild (#35547)

This commit is contained in:
Max Schmitt 2025-04-08 22:16:42 +01:00 committed by GitHub
parent a6d5c981af
commit b7799f3293
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -254,7 +254,7 @@ for (const pkg of workspace.packages()) {
quotePath(path.join(pkg.path, 'src/**/*.ts')),
`--outdir=${quotePath(path.join(pkg.path, 'lib'))}`,
...(withSourceMaps ? [`--sourcemap=linked`] : []),
...(watchMode ? ['--watch=true'] : []),
...(watchMode ? ['--watch'] : []),
'--platform=node',
'--format=cjs',
],