chore: fix 'npm run watch' memory leak in esbuild (#35547)
This commit is contained in:
parent
a6d5c981af
commit
b7799f3293
|
@ -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',
|
||||
],
|
||||
|
|
Loading…
Reference in New Issue