Buffered vs. Streaming Sourcemaps: Managing Memory in Large Gulp4 Pipelines
When processing collections of thousands of files in Gulp 4, gulp-sourcemaps can lead to linear memory growth. This often occurs because the plugin retains references to original source files until the stream emits the 'end' event, preventing the garbage collector from reclaiming memory during long build processes. To mitigate this, there is a choice between