Replace external_sourcemap references with extract_sourcemap