diff --git a/crates/turbopack-ecmascript/src/chunk/source_map.rs b/crates/turbopack-ecmascript/src/chunk/source_map.rs index ddc8cfc7bfc7f..25a0263474bf2 100644 --- a/crates/turbopack-ecmascript/src/chunk/source_map.rs +++ b/crates/turbopack-ecmascript/src/chunk/source_map.rs @@ -1,9 +1,10 @@ use anyhow::Result; use turbo_tasks::{primitives::StringVc, ValueToString, ValueToStringVc}; use turbo_tasks_fs::{File, FileSystemPathVc}; -use turbo_tasks_hash::encode_hex; +use turbo_tasks_hash::{encode_hex, Xxh3Hash64Hasher}; use turbopack_core::{ asset::{Asset, AssetContentVc, AssetVc}, + chunk::ModuleIdVc, code_builder::CodeVc, reference::{AssetReference, AssetReferenceVc, AssetReferencesVc}, resolve::{ResolveResult, ResolveResultVc}, @@ -29,10 +30,9 @@ impl EcmascriptChunkSourceMapAssetVc { impl Asset for EcmascriptChunkSourceMapAsset { #[turbo_tasks::function] async fn path(&self) -> Result { - Ok(self.chunk.path().append(&format!( - ".{}.map", - self.chunk.versioned_content().version().id().await? - ))) + // NOTE(alexkirsz) We used to include the chunk's version id in the path, + // but this caused `all_assets_map` to be recomputed on every change. + Ok(self.chunk.path().append(".map")) } #[turbo_tasks::function] @@ -51,17 +51,17 @@ impl Asset for EcmascriptChunkSourceMapAsset { #[turbo_tasks::value] pub struct EcmascriptChunkEntrySourceMapAsset { chunk_path: FileSystemPathVc, - hash: u64, + id: ModuleIdVc, code: CodeVc, } #[turbo_tasks::value_impl] impl EcmascriptChunkEntrySourceMapAssetVc { #[turbo_tasks::function] - pub fn new(chunk_path: FileSystemPathVc, hash: u64, code: CodeVc) -> Self { + pub fn new(chunk_path: FileSystemPathVc, id: ModuleIdVc, code: CodeVc) -> Self { EcmascriptChunkEntrySourceMapAsset { chunk_path, - hash, + id, code, } .cell() @@ -71,10 +71,14 @@ impl EcmascriptChunkEntrySourceMapAssetVc { #[turbo_tasks::value_impl] impl Asset for EcmascriptChunkEntrySourceMapAsset { #[turbo_tasks::function] - fn path(&self) -> FileSystemPathVc { - let hash = encode_hex(self.hash); + async fn path(&self) -> Result { + // NOTE(alexkirsz) We used to asset's hash in the path, but this caused + // `all_assets_map` to be recomputed on every change. + let mut hasher = Xxh3Hash64Hasher::new(); + hasher.write_value(self.id.await?); + let hash = encode_hex(hasher.finish()); let truncated_hash = &hash[..6]; - self.chunk_path.append(&format!(".{}.map", truncated_hash)) + Ok(self.chunk_path.append(&format!(".{}.map", truncated_hash))) } #[turbo_tasks::function] @@ -131,7 +135,7 @@ impl AssetReference for EcmascriptChunkSourceMapAssetReference { EcmascriptChunkEntrySourceMapAsset { chunk_path: path, code: item.code_vc, - hash: item.hash, + id: item.chunk_item.id(), } .keyed_cell(EcmascriptChunkEntrySourceMapAssetCellKey(item.chunk_item)) .into(), diff --git a/crates/turbopack-tests/tests/snapshot.rs b/crates/turbopack-tests/tests/snapshot.rs index cd1ad3447be5d..2a76ffa63fbc5 100644 --- a/crates/turbopack-tests/tests/snapshot.rs +++ b/crates/turbopack-tests/tests/snapshot.rs @@ -242,39 +242,12 @@ fn remove_file(root: &str, path: &str) -> Result<()> { Ok(()) } -/// Removes annoying hash fingerprints from files paths. -/// -/// If the hash changes whenever the contents of the file changes, then git will -/// show it as a brand new file instead of a diff of an exsting file. This makes -/// reviewing changes extremely difficult. -async fn remove_hash_fingerprint(asset: AssetVc) -> Result { - let path = asset.path(); - - if EcmascriptChunkSourceMapAssetVc::resolve_from(asset) - .await? - .is_some() - { - // .map files have a hash like foo.js.abc123.map. - let mut p = PathBuf::from(&path.await?.path); - if p.extension() == Some(OsStr::new("map")) { - p.set_extension(""); - debug_assert_ne!(p.extension(), Some(OsStr::new("js"))); - p.set_extension("abc123.map"); - } - - return Ok(path - .root() - .join(p.to_str().context("path is expected to be normal")?)); - } - Ok(path) -} - async fn walk_asset( asset: AssetVc, seen: &mut HashSet, queue: &mut VecDeque, ) -> Result<()> { - let path = remove_hash_fingerprint(asset).await?; + let path = asset.path(); let path_str = path.await?.path.clone(); if !seen.insert(path_str.to_string()) { diff --git a/crates/turbopack-tests/tests/snapshot/basic/async_chunk/output/13a8f_turbopack-tests_tests_snapshot_basic_async_chunk_input_import.js_manifest-chunk.js.abc123.map b/crates/turbopack-tests/tests/snapshot/basic/async_chunk/output/13a8f_turbopack-tests_tests_snapshot_basic_async_chunk_input_import.js_manifest-chunk.js.map similarity index 100% rename from crates/turbopack-tests/tests/snapshot/basic/async_chunk/output/13a8f_turbopack-tests_tests_snapshot_basic_async_chunk_input_import.js_manifest-chunk.js.abc123.map rename to crates/turbopack-tests/tests/snapshot/basic/async_chunk/output/13a8f_turbopack-tests_tests_snapshot_basic_async_chunk_input_import.js_manifest-chunk.js.map diff --git a/crates/turbopack-tests/tests/snapshot/basic/async_chunk/output/bbbdc_foo_index.js.abc123.map b/crates/turbopack-tests/tests/snapshot/basic/async_chunk/output/bbbdc_foo_index.js.map similarity index 100% rename from crates/turbopack-tests/tests/snapshot/basic/async_chunk/output/bbbdc_foo_index.js.abc123.map rename to crates/turbopack-tests/tests/snapshot/basic/async_chunk/output/bbbdc_foo_index.js.map diff --git a/crates/turbopack-tests/tests/snapshot/basic/async_chunk/output/crates_turbopack-tests_tests_snapshot_basic_async_chunk_input_import.js.abc123.map b/crates/turbopack-tests/tests/snapshot/basic/async_chunk/output/crates_turbopack-tests_tests_snapshot_basic_async_chunk_input_import.js.map similarity index 100% rename from crates/turbopack-tests/tests/snapshot/basic/async_chunk/output/crates_turbopack-tests_tests_snapshot_basic_async_chunk_input_import.js.abc123.map rename to crates/turbopack-tests/tests/snapshot/basic/async_chunk/output/crates_turbopack-tests_tests_snapshot_basic_async_chunk_input_import.js.map diff --git a/crates/turbopack-tests/tests/snapshot/basic/async_chunk/output/crates_turbopack-tests_tests_snapshot_basic_async_chunk_input_index_9be35c.js.abc123.map b/crates/turbopack-tests/tests/snapshot/basic/async_chunk/output/crates_turbopack-tests_tests_snapshot_basic_async_chunk_input_index_9be35c.js.map similarity index 100% rename from crates/turbopack-tests/tests/snapshot/basic/async_chunk/output/crates_turbopack-tests_tests_snapshot_basic_async_chunk_input_index_9be35c.js.abc123.map rename to crates/turbopack-tests/tests/snapshot/basic/async_chunk/output/crates_turbopack-tests_tests_snapshot_basic_async_chunk_input_index_9be35c.js.map diff --git a/crates/turbopack-tests/tests/snapshot/basic/chunked/output/7012b_foo_index.js.abc123.map b/crates/turbopack-tests/tests/snapshot/basic/chunked/output/7012b_foo_index.js.map similarity index 100% rename from crates/turbopack-tests/tests/snapshot/basic/chunked/output/7012b_foo_index.js.abc123.map rename to crates/turbopack-tests/tests/snapshot/basic/chunked/output/7012b_foo_index.js.map diff --git a/crates/turbopack-tests/tests/snapshot/basic/chunked/output/crates_turbopack-tests_tests_snapshot_basic_chunked_input_index_100c01.js.abc123.map b/crates/turbopack-tests/tests/snapshot/basic/chunked/output/crates_turbopack-tests_tests_snapshot_basic_chunked_input_index_100c01.js.map similarity index 100% rename from crates/turbopack-tests/tests/snapshot/basic/chunked/output/crates_turbopack-tests_tests_snapshot_basic_chunked_input_index_100c01.js.abc123.map rename to crates/turbopack-tests/tests/snapshot/basic/chunked/output/crates_turbopack-tests_tests_snapshot_basic_chunked_input_index_100c01.js.map diff --git a/crates/turbopack-tests/tests/snapshot/css/css/output/a97f4_foo_style.module.css.js.abc123.map b/crates/turbopack-tests/tests/snapshot/css/css/output/a97f4_foo_style.module.css.js.map similarity index 100% rename from crates/turbopack-tests/tests/snapshot/css/css/output/a97f4_foo_style.module.css.js.abc123.map rename to crates/turbopack-tests/tests/snapshot/css/css/output/a97f4_foo_style.module.css.js.map diff --git a/crates/turbopack-tests/tests/snapshot/css/css/output/crates_turbopack-tests_tests_snapshot_css_css_input_index_6b1595.js.abc123.map b/crates/turbopack-tests/tests/snapshot/css/css/output/crates_turbopack-tests_tests_snapshot_css_css_input_index_6b1595.js.map similarity index 100% rename from crates/turbopack-tests/tests/snapshot/css/css/output/crates_turbopack-tests_tests_snapshot_css_css_input_index_6b1595.js.abc123.map rename to crates/turbopack-tests/tests/snapshot/css/css/output/crates_turbopack-tests_tests_snapshot_css_css_input_index_6b1595.js.map diff --git a/crates/turbopack-tests/tests/snapshot/emotion/emotion/output/05161_hoist-non-react-statics_dist_hoist-non-react-statics.cjs.js.abc123.map b/crates/turbopack-tests/tests/snapshot/emotion/emotion/output/05161_hoist-non-react-statics_dist_hoist-non-react-statics.cjs.js.map similarity index 100% rename from crates/turbopack-tests/tests/snapshot/emotion/emotion/output/05161_hoist-non-react-statics_dist_hoist-non-react-statics.cjs.js.abc123.map rename to crates/turbopack-tests/tests/snapshot/emotion/emotion/output/05161_hoist-non-react-statics_dist_hoist-non-react-statics.cjs.js.map diff --git a/crates/turbopack-tests/tests/snapshot/emotion/emotion/output/083ed_@emotion_serialize_dist_emotion-serialize.cjs.js.abc123.map b/crates/turbopack-tests/tests/snapshot/emotion/emotion/output/083ed_@emotion_serialize_dist_emotion-serialize.cjs.js.map similarity index 100% rename from crates/turbopack-tests/tests/snapshot/emotion/emotion/output/083ed_@emotion_serialize_dist_emotion-serialize.cjs.js.abc123.map rename to crates/turbopack-tests/tests/snapshot/emotion/emotion/output/083ed_@emotion_serialize_dist_emotion-serialize.cjs.js.map diff --git a/crates/turbopack-tests/tests/snapshot/emotion/emotion/output/0c782_@emotion_unitless_dist_emotion-unitless.cjs.js.abc123.map b/crates/turbopack-tests/tests/snapshot/emotion/emotion/output/0c782_@emotion_unitless_dist_emotion-unitless.cjs.js.map similarity index 100% rename from crates/turbopack-tests/tests/snapshot/emotion/emotion/output/0c782_@emotion_unitless_dist_emotion-unitless.cjs.js.abc123.map rename to crates/turbopack-tests/tests/snapshot/emotion/emotion/output/0c782_@emotion_unitless_dist_emotion-unitless.cjs.js.map diff --git a/crates/turbopack-tests/tests/snapshot/emotion/emotion/output/12353_stylis_dist_umd_stylis.js.abc123.map b/crates/turbopack-tests/tests/snapshot/emotion/emotion/output/12353_stylis_dist_umd_stylis.js.map similarity index 100% rename from crates/turbopack-tests/tests/snapshot/emotion/emotion/output/12353_stylis_dist_umd_stylis.js.abc123.map rename to crates/turbopack-tests/tests/snapshot/emotion/emotion/output/12353_stylis_dist_umd_stylis.js.map diff --git a/crates/turbopack-tests/tests/snapshot/emotion/emotion/output/2a8cf_rtion-effect-with-fallbacks_dist_emotion-use-insertion-effect-with-fallbacks.cjs.js.abc123.map b/crates/turbopack-tests/tests/snapshot/emotion/emotion/output/2a8cf_rtion-effect-with-fallbacks_dist_emotion-use-insertion-effect-with-fallbacks.cjs.js.map similarity index 100% rename from crates/turbopack-tests/tests/snapshot/emotion/emotion/output/2a8cf_rtion-effect-with-fallbacks_dist_emotion-use-insertion-effect-with-fallbacks.cjs.js.abc123.map rename to crates/turbopack-tests/tests/snapshot/emotion/emotion/output/2a8cf_rtion-effect-with-fallbacks_dist_emotion-use-insertion-effect-with-fallbacks.cjs.js.map diff --git a/crates/turbopack-tests/tests/snapshot/emotion/emotion/output/2b6df_@babel_runtime_helpers_extends.js.abc123.map b/crates/turbopack-tests/tests/snapshot/emotion/emotion/output/2b6df_@babel_runtime_helpers_extends.js.map similarity index 100% rename from crates/turbopack-tests/tests/snapshot/emotion/emotion/output/2b6df_@babel_runtime_helpers_extends.js.abc123.map rename to crates/turbopack-tests/tests/snapshot/emotion/emotion/output/2b6df_@babel_runtime_helpers_extends.js.map diff --git a/crates/turbopack-tests/tests/snapshot/emotion/emotion/output/506d3_@emotion_sheet_dist_emotion-sheet.cjs.js.abc123.map b/crates/turbopack-tests/tests/snapshot/emotion/emotion/output/506d3_@emotion_sheet_dist_emotion-sheet.cjs.js.map similarity index 100% rename from crates/turbopack-tests/tests/snapshot/emotion/emotion/output/506d3_@emotion_sheet_dist_emotion-sheet.cjs.js.abc123.map rename to crates/turbopack-tests/tests/snapshot/emotion/emotion/output/506d3_@emotion_sheet_dist_emotion-sheet.cjs.js.map diff --git a/crates/turbopack-tests/tests/snapshot/emotion/emotion/output/535ac_react_index.js.abc123.map b/crates/turbopack-tests/tests/snapshot/emotion/emotion/output/535ac_react_index.js.map similarity index 100% rename from crates/turbopack-tests/tests/snapshot/emotion/emotion/output/535ac_react_index.js.abc123.map rename to crates/turbopack-tests/tests/snapshot/emotion/emotion/output/535ac_react_index.js.map diff --git a/crates/turbopack-tests/tests/snapshot/emotion/emotion/output/535ac_react_jsx-runtime.js.abc123.map b/crates/turbopack-tests/tests/snapshot/emotion/emotion/output/535ac_react_jsx-runtime.js.map similarity index 100% rename from crates/turbopack-tests/tests/snapshot/emotion/emotion/output/535ac_react_jsx-runtime.js.abc123.map rename to crates/turbopack-tests/tests/snapshot/emotion/emotion/output/535ac_react_jsx-runtime.js.map diff --git a/crates/turbopack-tests/tests/snapshot/emotion/emotion/output/549e8_@emotion_react__isolated-hnrs_dist_emotion-react-_isolated-hnrs.cjs.dev.js.abc123.map b/crates/turbopack-tests/tests/snapshot/emotion/emotion/output/549e8_@emotion_react__isolated-hnrs_dist_emotion-react-_isolated-hnrs.cjs.dev.js.map similarity index 100% rename from crates/turbopack-tests/tests/snapshot/emotion/emotion/output/549e8_@emotion_react__isolated-hnrs_dist_emotion-react-_isolated-hnrs.cjs.dev.js.abc123.map rename to crates/turbopack-tests/tests/snapshot/emotion/emotion/output/549e8_@emotion_react__isolated-hnrs_dist_emotion-react-_isolated-hnrs.cjs.dev.js.map diff --git a/crates/turbopack-tests/tests/snapshot/emotion/emotion/output/549e8_@emotion_react__isolated-hnrs_dist_emotion-react-_isolated-hnrs.cjs.prod.js.abc123.map b/crates/turbopack-tests/tests/snapshot/emotion/emotion/output/549e8_@emotion_react__isolated-hnrs_dist_emotion-react-_isolated-hnrs.cjs.prod.js.map similarity index 100% rename from crates/turbopack-tests/tests/snapshot/emotion/emotion/output/549e8_@emotion_react__isolated-hnrs_dist_emotion-react-_isolated-hnrs.cjs.prod.js.abc123.map rename to crates/turbopack-tests/tests/snapshot/emotion/emotion/output/549e8_@emotion_react__isolated-hnrs_dist_emotion-react-_isolated-hnrs.cjs.prod.js.map diff --git a/crates/turbopack-tests/tests/snapshot/emotion/emotion/output/549e8_@emotion_react_dist_emotion-react.cjs.js.abc123.map b/crates/turbopack-tests/tests/snapshot/emotion/emotion/output/549e8_@emotion_react_dist_emotion-react.cjs.js.map similarity index 100% rename from crates/turbopack-tests/tests/snapshot/emotion/emotion/output/549e8_@emotion_react_dist_emotion-react.cjs.js.abc123.map rename to crates/turbopack-tests/tests/snapshot/emotion/emotion/output/549e8_@emotion_react_dist_emotion-react.cjs.js.map diff --git a/crates/turbopack-tests/tests/snapshot/emotion/emotion/output/6395b_@emotion_cache_dist_emotion-cache.cjs.js.abc123.map b/crates/turbopack-tests/tests/snapshot/emotion/emotion/output/6395b_@emotion_cache_dist_emotion-cache.cjs.js.map similarity index 100% rename from crates/turbopack-tests/tests/snapshot/emotion/emotion/output/6395b_@emotion_cache_dist_emotion-cache.cjs.js.abc123.map rename to crates/turbopack-tests/tests/snapshot/emotion/emotion/output/6395b_@emotion_cache_dist_emotion-cache.cjs.js.map diff --git a/crates/turbopack-tests/tests/snapshot/emotion/emotion/output/69399_@emotion_is-prop-valid_dist_emotion-is-prop-valid.cjs.js.abc123.map b/crates/turbopack-tests/tests/snapshot/emotion/emotion/output/69399_@emotion_is-prop-valid_dist_emotion-is-prop-valid.cjs.js.map similarity index 100% rename from crates/turbopack-tests/tests/snapshot/emotion/emotion/output/69399_@emotion_is-prop-valid_dist_emotion-is-prop-valid.cjs.js.abc123.map rename to crates/turbopack-tests/tests/snapshot/emotion/emotion/output/69399_@emotion_is-prop-valid_dist_emotion-is-prop-valid.cjs.js.map diff --git a/crates/turbopack-tests/tests/snapshot/emotion/emotion/output/8e274_@emotion_memoize_dist_emotion-memoize.cjs.js.abc123.map b/crates/turbopack-tests/tests/snapshot/emotion/emotion/output/8e274_@emotion_memoize_dist_emotion-memoize.cjs.js.map similarity index 100% rename from crates/turbopack-tests/tests/snapshot/emotion/emotion/output/8e274_@emotion_memoize_dist_emotion-memoize.cjs.js.abc123.map rename to crates/turbopack-tests/tests/snapshot/emotion/emotion/output/8e274_@emotion_memoize_dist_emotion-memoize.cjs.js.map diff --git a/crates/turbopack-tests/tests/snapshot/emotion/emotion/output/a6e92_react-is_index.js.abc123.map b/crates/turbopack-tests/tests/snapshot/emotion/emotion/output/a6e92_react-is_index.js.map similarity index 100% rename from crates/turbopack-tests/tests/snapshot/emotion/emotion/output/a6e92_react-is_index.js.abc123.map rename to crates/turbopack-tests/tests/snapshot/emotion/emotion/output/a6e92_react-is_index.js.map diff --git a/crates/turbopack-tests/tests/snapshot/emotion/emotion/output/b5709_@emotion_styled_base_dist_emotion-styled-base.cjs.dev.js.abc123.map b/crates/turbopack-tests/tests/snapshot/emotion/emotion/output/b5709_@emotion_styled_base_dist_emotion-styled-base.cjs.dev.js.map similarity index 100% rename from crates/turbopack-tests/tests/snapshot/emotion/emotion/output/b5709_@emotion_styled_base_dist_emotion-styled-base.cjs.dev.js.abc123.map rename to crates/turbopack-tests/tests/snapshot/emotion/emotion/output/b5709_@emotion_styled_base_dist_emotion-styled-base.cjs.dev.js.map diff --git a/crates/turbopack-tests/tests/snapshot/emotion/emotion/output/b5709_@emotion_styled_base_dist_emotion-styled-base.cjs.prod.js.abc123.map b/crates/turbopack-tests/tests/snapshot/emotion/emotion/output/b5709_@emotion_styled_base_dist_emotion-styled-base.cjs.prod.js.map similarity index 100% rename from crates/turbopack-tests/tests/snapshot/emotion/emotion/output/b5709_@emotion_styled_base_dist_emotion-styled-base.cjs.prod.js.abc123.map rename to crates/turbopack-tests/tests/snapshot/emotion/emotion/output/b5709_@emotion_styled_base_dist_emotion-styled-base.cjs.prod.js.map diff --git a/crates/turbopack-tests/tests/snapshot/emotion/emotion/output/b5709_@emotion_styled_dist_emotion-styled.cjs.js.abc123.map b/crates/turbopack-tests/tests/snapshot/emotion/emotion/output/b5709_@emotion_styled_dist_emotion-styled.cjs.js.map similarity index 100% rename from crates/turbopack-tests/tests/snapshot/emotion/emotion/output/b5709_@emotion_styled_dist_emotion-styled.cjs.js.abc123.map rename to crates/turbopack-tests/tests/snapshot/emotion/emotion/output/b5709_@emotion_styled_dist_emotion-styled.cjs.js.map diff --git a/crates/turbopack-tests/tests/snapshot/emotion/emotion/output/cc916_@emotion_weak-memoize_dist_emotion-weak-memoize.cjs.js.abc123.map b/crates/turbopack-tests/tests/snapshot/emotion/emotion/output/cc916_@emotion_weak-memoize_dist_emotion-weak-memoize.cjs.js.map similarity index 100% rename from crates/turbopack-tests/tests/snapshot/emotion/emotion/output/cc916_@emotion_weak-memoize_dist_emotion-weak-memoize.cjs.js.abc123.map rename to crates/turbopack-tests/tests/snapshot/emotion/emotion/output/cc916_@emotion_weak-memoize_dist_emotion-weak-memoize.cjs.js.map diff --git a/crates/turbopack-tests/tests/snapshot/emotion/emotion/output/crates_turbopack-tests_tests_snapshot_emotion_emotion_input_index_3be5b0.js.abc123.map b/crates/turbopack-tests/tests/snapshot/emotion/emotion/output/crates_turbopack-tests_tests_snapshot_emotion_emotion_input_index_3be5b0.js.map similarity index 100% rename from crates/turbopack-tests/tests/snapshot/emotion/emotion/output/crates_turbopack-tests_tests_snapshot_emotion_emotion_input_index_3be5b0.js.abc123.map rename to crates/turbopack-tests/tests/snapshot/emotion/emotion/output/crates_turbopack-tests_tests_snapshot_emotion_emotion_input_index_3be5b0.js.map diff --git a/crates/turbopack-tests/tests/snapshot/emotion/emotion/output/e768c_@emotion_utils_dist_emotion-utils.cjs.js.abc123.map b/crates/turbopack-tests/tests/snapshot/emotion/emotion/output/e768c_@emotion_utils_dist_emotion-utils.cjs.js.map similarity index 100% rename from crates/turbopack-tests/tests/snapshot/emotion/emotion/output/e768c_@emotion_utils_dist_emotion-utils.cjs.js.abc123.map rename to crates/turbopack-tests/tests/snapshot/emotion/emotion/output/e768c_@emotion_utils_dist_emotion-utils.cjs.js.map diff --git a/crates/turbopack-tests/tests/snapshot/emotion/emotion/output/ff526_@emotion_hash_dist_emotion-hash.cjs.js.abc123.map b/crates/turbopack-tests/tests/snapshot/emotion/emotion/output/ff526_@emotion_hash_dist_emotion-hash.cjs.js.map similarity index 100% rename from crates/turbopack-tests/tests/snapshot/emotion/emotion/output/ff526_@emotion_hash_dist_emotion-hash.cjs.js.abc123.map rename to crates/turbopack-tests/tests/snapshot/emotion/emotion/output/ff526_@emotion_hash_dist_emotion-hash.cjs.js.map diff --git a/crates/turbopack-tests/tests/snapshot/env/env/output/crates_turbopack-tests_tests_snapshot_env_env_input_480486.js.abc123.map b/crates/turbopack-tests/tests/snapshot/env/env/output/crates_turbopack-tests_tests_snapshot_env_env_input_480486.js.map similarity index 100% rename from crates/turbopack-tests/tests/snapshot/env/env/output/crates_turbopack-tests_tests_snapshot_env_env_input_480486.js.abc123.map rename to crates/turbopack-tests/tests/snapshot/env/env/output/crates_turbopack-tests_tests_snapshot_env_env_input_480486.js.map diff --git a/crates/turbopack-tests/tests/snapshot/evaluated_entrry/runtime_entry/output/1cdd0_tests_snapshot_evaluated_entrry_runtime_entry_input_index_58db80.js.abc123.map b/crates/turbopack-tests/tests/snapshot/evaluated_entrry/runtime_entry/output/1cdd0_tests_snapshot_evaluated_entrry_runtime_entry_input_index_58db80.js.map similarity index 100% rename from crates/turbopack-tests/tests/snapshot/evaluated_entrry/runtime_entry/output/1cdd0_tests_snapshot_evaluated_entrry_runtime_entry_input_index_58db80.js.abc123.map rename to crates/turbopack-tests/tests/snapshot/evaluated_entrry/runtime_entry/output/1cdd0_tests_snapshot_evaluated_entrry_runtime_entry_input_index_58db80.js.map diff --git a/crates/turbopack-tests/tests/snapshot/example/example/output/crates_turbopack-tests_tests_snapshot_example_example_input_index_a7beb7.js.abc123.map b/crates/turbopack-tests/tests/snapshot/example/example/output/crates_turbopack-tests_tests_snapshot_example_example_input_index_a7beb7.js.map similarity index 100% rename from crates/turbopack-tests/tests/snapshot/example/example/output/crates_turbopack-tests_tests_snapshot_example_example_input_index_a7beb7.js.abc123.map rename to crates/turbopack-tests/tests/snapshot/example/example/output/crates_turbopack-tests_tests_snapshot_example_example_input_index_a7beb7.js.map diff --git a/crates/turbopack-tests/tests/snapshot/imports/json/output/crates_turbopack-tests_tests_snapshot_imports_json_input_index_e24981.js.abc123.map b/crates/turbopack-tests/tests/snapshot/imports/json/output/crates_turbopack-tests_tests_snapshot_imports_json_input_index_e24981.js.map similarity index 100% rename from crates/turbopack-tests/tests/snapshot/imports/json/output/crates_turbopack-tests_tests_snapshot_imports_json_input_index_e24981.js.abc123.map rename to crates/turbopack-tests/tests/snapshot/imports/json/output/crates_turbopack-tests_tests_snapshot_imports_json_input_index_e24981.js.map diff --git a/crates/turbopack-tests/tests/snapshot/imports/resolve_error_cjs/output/13a8f_turbopack-tests_tests_snapshot_imports_resolve_error_cjs_input_index_223f2e.js.abc123.map b/crates/turbopack-tests/tests/snapshot/imports/resolve_error_cjs/output/13a8f_turbopack-tests_tests_snapshot_imports_resolve_error_cjs_input_index_223f2e.js.map similarity index 100% rename from crates/turbopack-tests/tests/snapshot/imports/resolve_error_cjs/output/13a8f_turbopack-tests_tests_snapshot_imports_resolve_error_cjs_input_index_223f2e.js.abc123.map rename to crates/turbopack-tests/tests/snapshot/imports/resolve_error_cjs/output/13a8f_turbopack-tests_tests_snapshot_imports_resolve_error_cjs_input_index_223f2e.js.map diff --git a/crates/turbopack-tests/tests/snapshot/imports/resolve_error_esm/output/13a8f_turbopack-tests_tests_snapshot_imports_resolve_error_esm_input_index_51a95e.js.abc123.map b/crates/turbopack-tests/tests/snapshot/imports/resolve_error_esm/output/13a8f_turbopack-tests_tests_snapshot_imports_resolve_error_esm_input_index_51a95e.js.map similarity index 100% rename from crates/turbopack-tests/tests/snapshot/imports/resolve_error_esm/output/13a8f_turbopack-tests_tests_snapshot_imports_resolve_error_esm_input_index_51a95e.js.abc123.map rename to crates/turbopack-tests/tests/snapshot/imports/resolve_error_esm/output/13a8f_turbopack-tests_tests_snapshot_imports_resolve_error_esm_input_index_51a95e.js.map diff --git a/crates/turbopack-tests/tests/snapshot/imports/static/output/crates_turbopack-tests_tests_snapshot_imports_static_input_index_b8717b.js.abc123.map b/crates/turbopack-tests/tests/snapshot/imports/static/output/crates_turbopack-tests_tests_snapshot_imports_static_input_index_b8717b.js.map similarity index 100% rename from crates/turbopack-tests/tests/snapshot/imports/static/output/crates_turbopack-tests_tests_snapshot_imports_static_input_index_b8717b.js.abc123.map rename to crates/turbopack-tests/tests/snapshot/imports/static/output/crates_turbopack-tests_tests_snapshot_imports_static_input_index_b8717b.js.map diff --git a/crates/turbopack-tests/tests/snapshot/styled_components/styled_components/output/05161_hoist-non-react-statics_dist_hoist-non-react-statics.cjs.js.abc123.map b/crates/turbopack-tests/tests/snapshot/styled_components/styled_components/output/05161_hoist-non-react-statics_dist_hoist-non-react-statics.cjs.js.map similarity index 100% rename from crates/turbopack-tests/tests/snapshot/styled_components/styled_components/output/05161_hoist-non-react-statics_dist_hoist-non-react-statics.cjs.js.abc123.map rename to crates/turbopack-tests/tests/snapshot/styled_components/styled_components/output/05161_hoist-non-react-statics_dist_hoist-non-react-statics.cjs.js.map diff --git a/crates/turbopack-tests/tests/snapshot/styled_components/styled_components/output/1cdd0_tests_snapshot_styled_components_styled_components_input_index_ee92b9.js.abc123.map b/crates/turbopack-tests/tests/snapshot/styled_components/styled_components/output/1cdd0_tests_snapshot_styled_components_styled_components_input_index_ee92b9.js.map similarity index 100% rename from crates/turbopack-tests/tests/snapshot/styled_components/styled_components/output/1cdd0_tests_snapshot_styled_components_styled_components_input_index_ee92b9.js.abc123.map rename to crates/turbopack-tests/tests/snapshot/styled_components/styled_components/output/1cdd0_tests_snapshot_styled_components_styled_components_input_index_ee92b9.js.map diff --git a/crates/turbopack-tests/tests/snapshot/styled_components/styled_components/output/34b44_@emotion_unitless_dist_unitless.cjs.js.abc123.map b/crates/turbopack-tests/tests/snapshot/styled_components/styled_components/output/34b44_@emotion_unitless_dist_unitless.cjs.js.map similarity index 100% rename from crates/turbopack-tests/tests/snapshot/styled_components/styled_components/output/34b44_@emotion_unitless_dist_unitless.cjs.js.abc123.map rename to crates/turbopack-tests/tests/snapshot/styled_components/styled_components/output/34b44_@emotion_unitless_dist_unitless.cjs.js.map diff --git a/crates/turbopack-tests/tests/snapshot/styled_components/styled_components/output/3e092_shallowequal_index.js.abc123.map b/crates/turbopack-tests/tests/snapshot/styled_components/styled_components/output/3e092_shallowequal_index.js.map similarity index 100% rename from crates/turbopack-tests/tests/snapshot/styled_components/styled_components/output/3e092_shallowequal_index.js.abc123.map rename to crates/turbopack-tests/tests/snapshot/styled_components/styled_components/output/3e092_shallowequal_index.js.map diff --git a/crates/turbopack-tests/tests/snapshot/styled_components/styled_components/output/535ac_react_index.js.abc123.map b/crates/turbopack-tests/tests/snapshot/styled_components/styled_components/output/535ac_react_index.js.map similarity index 100% rename from crates/turbopack-tests/tests/snapshot/styled_components/styled_components/output/535ac_react_index.js.abc123.map rename to crates/turbopack-tests/tests/snapshot/styled_components/styled_components/output/535ac_react_index.js.map diff --git a/crates/turbopack-tests/tests/snapshot/styled_components/styled_components/output/69399_@emotion_is-prop-valid_dist_emotion-is-prop-valid.cjs.js.abc123.map b/crates/turbopack-tests/tests/snapshot/styled_components/styled_components/output/69399_@emotion_is-prop-valid_dist_emotion-is-prop-valid.cjs.js.map similarity index 100% rename from crates/turbopack-tests/tests/snapshot/styled_components/styled_components/output/69399_@emotion_is-prop-valid_dist_emotion-is-prop-valid.cjs.js.abc123.map rename to crates/turbopack-tests/tests/snapshot/styled_components/styled_components/output/69399_@emotion_is-prop-valid_dist_emotion-is-prop-valid.cjs.js.map diff --git a/crates/turbopack-tests/tests/snapshot/styled_components/styled_components/output/8e274_@emotion_memoize_dist_emotion-memoize.cjs.js.abc123.map b/crates/turbopack-tests/tests/snapshot/styled_components/styled_components/output/8e274_@emotion_memoize_dist_emotion-memoize.cjs.js.map similarity index 100% rename from crates/turbopack-tests/tests/snapshot/styled_components/styled_components/output/8e274_@emotion_memoize_dist_emotion-memoize.cjs.js.abc123.map rename to crates/turbopack-tests/tests/snapshot/styled_components/styled_components/output/8e274_@emotion_memoize_dist_emotion-memoize.cjs.js.map diff --git a/crates/turbopack-tests/tests/snapshot/styled_components/styled_components/output/a6e92_react-is_index.js.abc123.map b/crates/turbopack-tests/tests/snapshot/styled_components/styled_components/output/a6e92_react-is_index.js.map similarity index 100% rename from crates/turbopack-tests/tests/snapshot/styled_components/styled_components/output/a6e92_react-is_index.js.abc123.map rename to crates/turbopack-tests/tests/snapshot/styled_components/styled_components/output/a6e92_react-is_index.js.map diff --git a/crates/turbopack-tests/tests/snapshot/styled_components/styled_components/output/c4083_styled-components_dist_styled-components.cjs.js.abc123.map b/crates/turbopack-tests/tests/snapshot/styled_components/styled_components/output/c4083_styled-components_dist_styled-components.cjs.js.map similarity index 100% rename from crates/turbopack-tests/tests/snapshot/styled_components/styled_components/output/c4083_styled-components_dist_styled-components.cjs.js.abc123.map rename to crates/turbopack-tests/tests/snapshot/styled_components/styled_components/output/c4083_styled-components_dist_styled-components.cjs.js.map diff --git a/crates/turbopack-tests/tests/snapshot/styled_components/styled_components/output/c6fe1_react-is_index.js.abc123.map b/crates/turbopack-tests/tests/snapshot/styled_components/styled_components/output/c6fe1_react-is_index.js.map similarity index 100% rename from crates/turbopack-tests/tests/snapshot/styled_components/styled_components/output/c6fe1_react-is_index.js.abc123.map rename to crates/turbopack-tests/tests/snapshot/styled_components/styled_components/output/c6fe1_react-is_index.js.map diff --git a/crates/turbopack-tests/tests/snapshot/styled_components/styled_components/output/d3cc4_@emotion_stylis_dist_stylis.cjs.js.abc123.map b/crates/turbopack-tests/tests/snapshot/styled_components/styled_components/output/d3cc4_@emotion_stylis_dist_stylis.cjs.js.map similarity index 100% rename from crates/turbopack-tests/tests/snapshot/styled_components/styled_components/output/d3cc4_@emotion_stylis_dist_stylis.cjs.js.abc123.map rename to crates/turbopack-tests/tests/snapshot/styled_components/styled_components/output/d3cc4_@emotion_stylis_dist_stylis.cjs.js.map diff --git a/crates/turbopack-tests/tests/snapshot/swc_transforms/mono_transforms/output/1cdd0_tests_snapshot_swc_transforms_mono_transforms_input_packages_app_index_cfff39.js.abc123.map b/crates/turbopack-tests/tests/snapshot/swc_transforms/mono_transforms/output/1cdd0_tests_snapshot_swc_transforms_mono_transforms_input_packages_app_index_cfff39.js.map similarity index 100% rename from crates/turbopack-tests/tests/snapshot/swc_transforms/mono_transforms/output/1cdd0_tests_snapshot_swc_transforms_mono_transforms_input_packages_app_index_cfff39.js.abc123.map rename to crates/turbopack-tests/tests/snapshot/swc_transforms/mono_transforms/output/1cdd0_tests_snapshot_swc_transforms_mono_transforms_input_packages_app_index_cfff39.js.map diff --git a/crates/turbopack-tests/tests/snapshot/swc_transforms/mono_transforms/output/1cdd0_tests_snapshot_swc_transforms_mono_transforms_input_packages_component_index.js.abc123.map b/crates/turbopack-tests/tests/snapshot/swc_transforms/mono_transforms/output/1cdd0_tests_snapshot_swc_transforms_mono_transforms_input_packages_component_index.js.map similarity index 100% rename from crates/turbopack-tests/tests/snapshot/swc_transforms/mono_transforms/output/1cdd0_tests_snapshot_swc_transforms_mono_transforms_input_packages_component_index.js.abc123.map rename to crates/turbopack-tests/tests/snapshot/swc_transforms/mono_transforms/output/1cdd0_tests_snapshot_swc_transforms_mono_transforms_input_packages_component_index.js.map diff --git a/crates/turbopack-tests/tests/snapshot/swc_transforms/mono_transforms/output/535ac_react_jsx-runtime.js.abc123.map b/crates/turbopack-tests/tests/snapshot/swc_transforms/mono_transforms/output/535ac_react_jsx-runtime.js.map similarity index 100% rename from crates/turbopack-tests/tests/snapshot/swc_transforms/mono_transforms/output/535ac_react_jsx-runtime.js.abc123.map rename to crates/turbopack-tests/tests/snapshot/swc_transforms/mono_transforms/output/535ac_react_jsx-runtime.js.map diff --git a/crates/turbopack-tests/tests/snapshot/swc_transforms/mono_transforms/output/bcbf2_react_jsx-runtime.js.abc123.map b/crates/turbopack-tests/tests/snapshot/swc_transforms/mono_transforms/output/bcbf2_react_jsx-runtime.js.map similarity index 100% rename from crates/turbopack-tests/tests/snapshot/swc_transforms/mono_transforms/output/bcbf2_react_jsx-runtime.js.abc123.map rename to crates/turbopack-tests/tests/snapshot/swc_transforms/mono_transforms/output/bcbf2_react_jsx-runtime.js.map diff --git a/crates/turbopack-tests/tests/snapshot/swc_transforms/mono_transforms/output/bcbf2_third_party_component_index.js.abc123.map b/crates/turbopack-tests/tests/snapshot/swc_transforms/mono_transforms/output/bcbf2_third_party_component_index.js.map similarity index 100% rename from crates/turbopack-tests/tests/snapshot/swc_transforms/mono_transforms/output/bcbf2_third_party_component_index.js.abc123.map rename to crates/turbopack-tests/tests/snapshot/swc_transforms/mono_transforms/output/bcbf2_third_party_component_index.js.map diff --git a/crates/turbopack-tests/tests/snapshot/swc_transforms/preset_env/output/13a8f_turbopack-tests_tests_snapshot_swc_transforms_preset_env_input_index_1dfafd.js.abc123.map b/crates/turbopack-tests/tests/snapshot/swc_transforms/preset_env/output/13a8f_turbopack-tests_tests_snapshot_swc_transforms_preset_env_input_index_1dfafd.js.map similarity index 100% rename from crates/turbopack-tests/tests/snapshot/swc_transforms/preset_env/output/13a8f_turbopack-tests_tests_snapshot_swc_transforms_preset_env_input_index_1dfafd.js.abc123.map rename to crates/turbopack-tests/tests/snapshot/swc_transforms/preset_env/output/13a8f_turbopack-tests_tests_snapshot_swc_transforms_preset_env_input_index_1dfafd.js.map diff --git a/crates/turbopack-tests/tests/snapshot/swc_transforms/preset_env/output/a1e25_@swc_helpers_src__class_call_check.mjs.js.abc123.map b/crates/turbopack-tests/tests/snapshot/swc_transforms/preset_env/output/a1e25_@swc_helpers_src__class_call_check.mjs.js.map similarity index 100% rename from crates/turbopack-tests/tests/snapshot/swc_transforms/preset_env/output/a1e25_@swc_helpers_src__class_call_check.mjs.js.abc123.map rename to crates/turbopack-tests/tests/snapshot/swc_transforms/preset_env/output/a1e25_@swc_helpers_src__class_call_check.mjs.js.map