I'm wondering if we should clone and store the original sources array on the file or sourceMap object so we can use it later in sourcemaps.write or gulp.dest when sourcesContent is missing and needs to be loaded.
If we don't stash the original sources array, we could just document that this needs to be used with caution if the end-user expects sourcesContent to be populated.
I'm wondering if we should clone and store the original
sourcesarray on thefileorsourceMapobject so we can use it later insourcemaps.writeorgulp.destwhensourcesContentis missing and needs to be loaded.If we don't stash the original
sourcesarray, we could just document that this needs to be used with caution if the end-user expectssourcesContentto be populated.