Skip to content
Prev Previous commit
Next Next commit
revert a nit
  • Loading branch information
lukesandberg committed Nov 7, 2025
commit a4ebdf5e433a80b56f4b441c8ce1f8f359dc306c
1 change: 1 addition & 0 deletions turbopack/crates/turbopack-ecmascript/benches/analyzer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ pub fn benchmark(c: &mut Criterion) {
if entry.file_type().unwrap().is_dir() {
let name = entry.file_name().into_string().unwrap();
let input = entry.path().join("input.js");

let cm = Arc::new(SourceMap::new(FilePathMapping::empty()));
let fm = cm.load_file(&input).unwrap();
GLOBALS.set(&swc_core::common::Globals::new(), || {
Expand Down