From e09622542e269704fbd11d9614c6d8aec943feaa Mon Sep 17 00:00:00 2001 From: Tobias Koppers Date: Wed, 4 Dec 2024 15:00:50 +0100 Subject: [PATCH 1/4] refactor relative path from output to project --- crates/next-api/src/project.rs | 18 ++++++++++++ crates/next-core/src/next_client/context.rs | 6 ++-- crates/next-core/src/next_edge/context.rs | 12 +++++--- crates/next-core/src/next_server/context.rs | 4 +++ .../turbopack-browser/src/chunking_context.rs | 9 ++++++ .../src/ecmascript/evaluate/chunk.rs | 5 ++-- .../crates/turbopack-cli/src/build/mod.rs | 18 +++++++----- turbopack/crates/turbopack-cli/src/dev/mod.rs | 24 ++++++++++----- .../turbopack-cli/src/dev/web_entry_source.rs | 11 +++++-- .../src/chunk/chunking_context.rs | 4 +++ .../js/src/nodejs/runtime.ts | 3 +- .../src/shared-node/node-externals-utils.ts | 8 ++--- .../src/browser_runtime.rs | 8 ++--- .../turbopack-nodejs/src/chunking_context.rs | 9 ++++++ .../src/ecmascript/node/entry/runtime.rs | 6 ++-- .../crates/turbopack-tests/tests/execution.rs | 7 +++++ .../crates/turbopack-tests/tests/snapshot.rs | 29 ++++++++++--------- ...hake_dynamic-import_input_index_d5474b.js} | 2 +- ..._dynamic-import_input_index_d5474b.js.map} | 0 ...-shake_export-named_input_index_6dd98b.js} | 2 +- ...ke_export-named_input_index_6dd98b.js.map} | 0 ...ke_export-namespace_input_index_9f7e3d.js} | 2 +- ...xport-namespace_input_index_9f7e3d.js.map} | 0 ...ke_import-named-all_input_index_2bdccf.js} | 2 +- ...mport-named-all_input_index_2bdccf.js.map} | 0 ...-shake_import-named_input_index_ee6f58.js} | 2 +- ...ke_import-named_input_index_ee6f58.js.map} | 0 ...ke_import-namespace_input_index_0a0726.js} | 2 +- ...mport-namespace_input_index_0a0726.js.map} | 0 ..._import-side-effect_input_index_cbd40f.js} | 2 +- ...ort-side-effect_input_index_cbd40f.js.map} | 0 ...require-side-effect_input_index_7e9356.js} | 2 +- ...ire-side-effect_input_index_7e9356.js.map} | 0 ...e_tree-shake-test-1_input_index_b1536d.js} | 2 +- ...ee-shake-test-1_input_index_b1536d.js.map} | 0 ...t_basic_async_chunk_input_index_3567a8.js} | 2 +- ...sic_async_chunk_input_index_3567a8.js.map} | 0 .../output/[turbopack]_runtime.js | 2 +- ...pshot_basic_chunked_input_index_b40d3c.js} | 2 +- ...t_basic_chunked_input_index_b40d3c.js.map} | 0 .../output/[turbopack]_runtime.js | 2 +- ...pshot_basic_shebang_input_index_da95c9.js} | 2 +- ...t_basic_shebang_input_index_da95c9.js.map} | 0 ...sic_top-level-await_input_index_b01f59.js} | 2 +- ...top-level-await_input_index_b01f59.js.map} | 0 ...hot_comptime_define_input_index_cfec05.js} | 2 +- ...comptime_define_input_index_cfec05.js.map} | 0 ...mptime_early-return_input_index_6a4b02.js} | 2 +- ...me_early-return_input_index_6a4b02.js.map} | 0 ...hot_comptime_typeof_input_index_4be808.js} | 2 +- ...comptime_typeof_input_index_4be808.js.map} | 0 ...omptime_unreachable_input_index_1727e2.js} | 2 +- ...ime_unreachable_input_index_1727e2.js.map} | 0 ...absolute-uri-import_input_index_f6e9a4.js} | 2 +- ...lute-uri-import_input_index_f6e9a4.js.map} | 0 ..._chained-attributes_input_index_73b34b.js} | 2 +- ...ined-attributes_input_index_73b34b.js.map} | 0 ..._css-legacy-nesting_input_index_b7a14b.js} | 2 +- ...-legacy-nesting_input_index_b7a14b.js.map} | 0 ...hot_css_css-modules_input_index_ae0851.js} | 2 +- ...css_css-modules_input_index_ae0851.js.map} | 0 ...ts_snapshot_css_css_input_index_ec14ee.js} | 2 +- ...napshot_css_css_input_index_ec14ee.js.map} | 0 ...relative-uri-import_input_index_9b2d89.js} | 2 +- ...tive-uri-import_input_index_9b2d89.js.map} | 0 ...s_snapshot_css_scss_input_index_1c4159.js} | 2 +- ...apshot_css_scss_input_index_1c4159.js.map} | 0 ...l-in-supports-query_input_index_001f19.js} | 2 +- ...-supports-query_input_index_001f19.js.map} | 0 ...cssmodules_composes_input_index_a69792.js} | 2 +- ...odules_composes_input_index_a69792.js.map} | 0 ...relative-uri-import_input_index_1be590.js} | 2 +- ...tive-uri-import_input_index_1be590.js.map} | 0 ...equest_very-dynamic_input_index_db87b1.js} | 2 +- ...st_very-dynamic_input_index_db87b1.js.map} | 0 ...hot_emotion_emotion_input_index_bc96cd.js} | 2 +- ...emotion_emotion_input_index_bc96cd.js.map} | 0 ...ts_snapshot_env_env_input_index_95fd5e.js} | 2 +- ...napshot_env_env_input_index_95fd5e.js.map} | 0 ...ntrry_runtime_entry_input_index_e21b39.js} | 2 +- ...y_runtime_entry_input_index_e21b39.js.map} | 0 ...hot_example_example_input_index_5be20a.js} | 2 +- ...example_example_input_index_5be20a.js.map} | 0 ...t_export-alls_cjs-2_input_index_2eb895.js} | 2 +- ...port-alls_cjs-2_input_index_2eb895.js.map} | 0 ...ort-alls_cjs-script_input_index_72f575.js} | 2 +- ...alls_cjs-script_input_index_72f575.js.map} | 0 ...hot_import-meta_cjs_input_index_2f75c0.js} | 2 +- ...import-meta_cjs_input_index_2f75c0.js.map} | 0 ...t-meta_esm-multiple_input_index_8d5fae.js} | 2 +- ...ta_esm-multiple_input_index_8d5fae.js.map} | 0 ...rt-meta_esm-mutable_input_index_60b84a.js} | 2 +- ...eta_esm-mutable_input_index_60b84a.js.map} | 0 ...ort-meta_esm-object_input_index_66f6e5.js} | 2 +- ...meta_esm-object_input_index_66f6e5.js.map} | 0 ...hot_import-meta_esm_input_index_02fed5.js} | 2 +- ...import-meta_esm_input_index_02fed5.js.map} | 0 ...hot_import-meta_url_input_index_da7049.js} | 2 +- ...import-meta_url_input_index_da7049.js.map} | 0 ...s_duplicate-binding_input_index_353d51.js} | 2 +- ...plicate-binding_input_index_353d51.js.map} | 0 ...hot_imports_dynamic_input_index_41b5f3.js} | 2 +- ...imports_dynamic_input_index_41b5f3.js.map} | 0 ..._imports_ignore-comments_input_26ea62._.js | 2 +- ...ments_input_vercel_cjs_75b6e3___ad9094.js} | 2 +- ...s_input_vercel_cjs_75b6e3___ad9094.js.map} | 0 ...rts_ignore-comments_input_index_b5a38b.js} | 2 +- ...ignore-comments_input_index_b5a38b.js.map} | 0 ...apshot_imports_json_input_index_485b5d.js} | 2 +- ...ot_imports_json_input_index_485b5d.js.map} | 0 ...pshot_imports_order_input_index_2b08c3.js} | 2 +- ...t_imports_order_input_index_2b08c3.js.map} | 0 ...s_resolve_error_cjs_input_index_cdc481.js} | 2 +- ...solve_error_cjs_input_index_cdc481.js.map} | 0 ...s_resolve_error_esm_input_index_1fa1cb.js} | 2 +- ...solve_error_esm_input_index_1fa1cb.js.map} | 0 ..._static-and-dynamic_input_index_aeac15.js} | 2 +- ...tic-and-dynamic_input_index_aeac15.js.map} | 0 ...shot_imports_static_input_index_b30b52.js} | 2 +- ..._imports_static_input_index_b30b52.js.map} | 0 ...path-imports-nested_input_index_d845f9.js} | 2 +- ...-imports-nested_input_index_d845f9.js.map} | 0 ...rts_subpath-imports_input_index_3f6f52.js} | 2 +- ...subpath-imports_input_index_3f6f52.js.map} | 0 ..._snapshot_mdx_error_input_index_983765.js} | 2 +- ...pshot_mdx_error_input_index_983765.js.map} | 0 ...ation_paren-remover_input_index_2fbcfd.js} | 2 +- ...n_paren-remover_input_index_2fbcfd.js.map} | 0 ...e_protocol_external_input_index_af4d59.js} | 2 +- ...otocol_external_input_index_af4d59.js.map} | 0 ..._node_spawn_dynamic_input_index_b06e6d.js} | 2 +- ...e_spawn_dynamic_input_index_b06e6d.js.map} | 0 ...ode_spawn_node_eval_input_index_42a3e6.js} | 2 +- ...spawn_node_eval_input_index_42a3e6.js.map} | 0 .../output/[turbopack]_runtime.js | 8 ++--- .../output/[turbopack]_runtime.js.map | 4 +-- ...default_dev_runtime_input_index_bfa467.js} | 6 ++-- ...ult_dev_runtime_input_index_bfa467.js.map} | 0 ...s_styled_components_input_index_6b8210.js} | 2 +- ...yled_components_input_index_6b8210.js.map} | 0 ...sforms_input_packages_app_index_9baabf.js} | 2 +- ...ms_input_packages_app_index_9baabf.js.map} | 0 ...ansforms_preset_env_input_index_3890b0.js} | 2 +- ...orms_preset_env_input_index_3890b0.js.map} | 0 ...ot_tree-shaking_dce_input_index_f2c827.js} | 2 +- ...ree-shaking_dce_input_index_f2c827.js.map} | 0 ...pt_jsconfig-baseurl_input_index_deb25b.js} | 2 +- ...sconfig-baseurl_input_index_deb25b.js.map} | 0 ...config-baseurl_input_index_ts_f1475c._.js} | 2 +- ...ig-baseurl_input_index_ts_f1475c._.js.map} | 0 ...dule-full-path_input_index_ts_c43bb3._.js} | 2 +- ...-full-path_input_index_ts_c43bb3._.js.map} | 0 ...extends-module_input_index_ts_4ce860._.js} | 2 +- ...nds-module_input_index_ts_4ce860._.js.map} | 0 ...s-relative-dir_input_index_ts_c42252._.js} | 2 +- ...lative-dir_input_index_ts_c42252._.js.map} | 0 ...ds-without-ext_input_index_ts_4546b9._.js} | 2 +- ...ithout-ext_input_index_ts_4546b9._.js.map} | 0 ...config-extends_input_index_ts_4c689d._.js} | 2 +- ...ig-extends_input_index_ts_4c689d._.js.map} | 0 160 files changed, 210 insertions(+), 131 deletions(-) rename turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/output/{4c35f_tests_snapshot_basic-tree-shake_dynamic-import_input_index_6199d2.js => 4c35f_tests_snapshot_basic-tree-shake_dynamic-import_input_index_d5474b.js} (95%) rename turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/output/{4c35f_tests_snapshot_basic-tree-shake_dynamic-import_input_index_6199d2.js.map => 4c35f_tests_snapshot_basic-tree-shake_dynamic-import_input_index_d5474b.js.map} (100%) rename turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-named/output/{b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_export-named_input_index_de97f7.js => b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_export-named_input_index_6dd98b.js} (91%) rename turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-named/output/{b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_export-named_input_index_de97f7.js.map => b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_export-named_input_index_6dd98b.js.map} (100%) rename turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/output/{4c35f_tests_snapshot_basic-tree-shake_export-namespace_input_index_205b08.js => 4c35f_tests_snapshot_basic-tree-shake_export-namespace_input_index_9f7e3d.js} (93%) rename turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/output/{4c35f_tests_snapshot_basic-tree-shake_export-namespace_input_index_205b08.js.map => 4c35f_tests_snapshot_basic-tree-shake_export-namespace_input_index_9f7e3d.js.map} (100%) rename turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named-all/output/{4c35f_tests_snapshot_basic-tree-shake_import-named-all_input_index_52a24c.js => 4c35f_tests_snapshot_basic-tree-shake_import-named-all_input_index_2bdccf.js} (93%) rename turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named-all/output/{4c35f_tests_snapshot_basic-tree-shake_import-named-all_input_index_52a24c.js.map => 4c35f_tests_snapshot_basic-tree-shake_import-named-all_input_index_2bdccf.js.map} (100%) rename turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named/output/{b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_import-named_input_index_07bfe7.js => b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_import-named_input_index_ee6f58.js} (91%) rename turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named/output/{b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_import-named_input_index_07bfe7.js.map => b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_import-named_input_index_ee6f58.js.map} (100%) rename turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/output/{4c35f_tests_snapshot_basic-tree-shake_import-namespace_input_index_1c01ea.js => 4c35f_tests_snapshot_basic-tree-shake_import-namespace_input_index_0a0726.js} (93%) rename turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/output/{4c35f_tests_snapshot_basic-tree-shake_import-namespace_input_index_1c01ea.js.map => 4c35f_tests_snapshot_basic-tree-shake_import-namespace_input_index_0a0726.js.map} (100%) rename turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-side-effect/output/{4c35f_tests_snapshot_basic-tree-shake_import-side-effect_input_index_f81304.js => 4c35f_tests_snapshot_basic-tree-shake_import-side-effect_input_index_cbd40f.js} (93%) rename turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-side-effect/output/{4c35f_tests_snapshot_basic-tree-shake_import-side-effect_input_index_f81304.js.map => 4c35f_tests_snapshot_basic-tree-shake_import-side-effect_input_index_cbd40f.js.map} (100%) rename turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/output/{4c35f_tests_snapshot_basic-tree-shake_require-side-effect_input_index_227033.js => 4c35f_tests_snapshot_basic-tree-shake_require-side-effect_input_index_7e9356.js} (93%) rename turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/output/{4c35f_tests_snapshot_basic-tree-shake_require-side-effect_input_index_227033.js.map => 4c35f_tests_snapshot_basic-tree-shake_require-side-effect_input_index_7e9356.js.map} (100%) rename turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/tree-shake-test-1/output/{4c35f_tests_snapshot_basic-tree-shake_tree-shake-test-1_input_index_54a003.js => 4c35f_tests_snapshot_basic-tree-shake_tree-shake-test-1_input_index_b1536d.js} (93%) rename turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/tree-shake-test-1/output/{4c35f_tests_snapshot_basic-tree-shake_tree-shake-test-1_input_index_54a003.js.map => 4c35f_tests_snapshot_basic-tree-shake_tree-shake-test-1_input_index_b1536d.js.map} (100%) rename turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk/output/{4e721_crates_turbopack-tests_tests_snapshot_basic_async_chunk_input_index_8c33d5.js => 4e721_crates_turbopack-tests_tests_snapshot_basic_async_chunk_input_index_3567a8.js} (93%) rename turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk/output/{4e721_crates_turbopack-tests_tests_snapshot_basic_async_chunk_input_index_8c33d5.js.map => 4e721_crates_turbopack-tests_tests_snapshot_basic_async_chunk_input_index_3567a8.js.map} (100%) rename turbopack/crates/turbopack-tests/tests/snapshot/basic/chunked/output/{turbopack_crates_turbopack-tests_tests_snapshot_basic_chunked_input_index_e02b0b.js => turbopack_crates_turbopack-tests_tests_snapshot_basic_chunked_input_index_b40d3c.js} (92%) rename turbopack/crates/turbopack-tests/tests/snapshot/basic/chunked/output/{turbopack_crates_turbopack-tests_tests_snapshot_basic_chunked_input_index_e02b0b.js.map => turbopack_crates_turbopack-tests_tests_snapshot_basic_chunked_input_index_b40d3c.js.map} (100%) rename turbopack/crates/turbopack-tests/tests/snapshot/basic/shebang/output/{turbopack_crates_turbopack-tests_tests_snapshot_basic_shebang_input_index_4cce73.js => turbopack_crates_turbopack-tests_tests_snapshot_basic_shebang_input_index_da95c9.js} (92%) rename turbopack/crates/turbopack-tests/tests/snapshot/basic/shebang/output/{turbopack_crates_turbopack-tests_tests_snapshot_basic_shebang_input_index_4cce73.js.map => turbopack_crates_turbopack-tests_tests_snapshot_basic_shebang_input_index_da95c9.js.map} (100%) rename turbopack/crates/turbopack-tests/tests/snapshot/basic/top-level-await/output/{4e721_crates_turbopack-tests_tests_snapshot_basic_top-level-await_input_index_d10990.js => 4e721_crates_turbopack-tests_tests_snapshot_basic_top-level-await_input_index_b01f59.js} (92%) rename turbopack/crates/turbopack-tests/tests/snapshot/basic/top-level-await/output/{4e721_crates_turbopack-tests_tests_snapshot_basic_top-level-await_input_index_d10990.js.map => 4e721_crates_turbopack-tests_tests_snapshot_basic_top-level-await_input_index_b01f59.js.map} (100%) rename turbopack/crates/turbopack-tests/tests/snapshot/comptime/define/output/{4e721_crates_turbopack-tests_tests_snapshot_comptime_define_input_index_8b20d1.js => 4e721_crates_turbopack-tests_tests_snapshot_comptime_define_input_index_cfec05.js} (92%) rename turbopack/crates/turbopack-tests/tests/snapshot/comptime/define/output/{4e721_crates_turbopack-tests_tests_snapshot_comptime_define_input_index_8b20d1.js.map => 4e721_crates_turbopack-tests_tests_snapshot_comptime_define_input_index_cfec05.js.map} (100%) rename turbopack/crates/turbopack-tests/tests/snapshot/comptime/early-return/output/{4e721_crates_turbopack-tests_tests_snapshot_comptime_early-return_input_index_6b26d1.js => 4e721_crates_turbopack-tests_tests_snapshot_comptime_early-return_input_index_6a4b02.js} (91%) rename turbopack/crates/turbopack-tests/tests/snapshot/comptime/early-return/output/{4e721_crates_turbopack-tests_tests_snapshot_comptime_early-return_input_index_6b26d1.js.map => 4e721_crates_turbopack-tests_tests_snapshot_comptime_early-return_input_index_6a4b02.js.map} (100%) rename turbopack/crates/turbopack-tests/tests/snapshot/comptime/typeof/output/{4e721_crates_turbopack-tests_tests_snapshot_comptime_typeof_input_index_4cb5df.js => 4e721_crates_turbopack-tests_tests_snapshot_comptime_typeof_input_index_4be808.js} (92%) rename turbopack/crates/turbopack-tests/tests/snapshot/comptime/typeof/output/{4e721_crates_turbopack-tests_tests_snapshot_comptime_typeof_input_index_4cb5df.js.map => 4e721_crates_turbopack-tests_tests_snapshot_comptime_typeof_input_index_4be808.js.map} (100%) rename turbopack/crates/turbopack-tests/tests/snapshot/comptime/unreachable/output/{4e721_crates_turbopack-tests_tests_snapshot_comptime_unreachable_input_index_141c43.js => 4e721_crates_turbopack-tests_tests_snapshot_comptime_unreachable_input_index_1727e2.js} (91%) rename turbopack/crates/turbopack-tests/tests/snapshot/comptime/unreachable/output/{4e721_crates_turbopack-tests_tests_snapshot_comptime_unreachable_input_index_141c43.js.map => 4e721_crates_turbopack-tests_tests_snapshot_comptime_unreachable_input_index_1727e2.js.map} (100%) rename turbopack/crates/turbopack-tests/tests/snapshot/css/absolute-uri-import/output/{b1abf_turbopack-tests_tests_snapshot_css_absolute-uri-import_input_index_1db1fc.js => b1abf_turbopack-tests_tests_snapshot_css_absolute-uri-import_input_index_f6e9a4.js} (97%) rename turbopack/crates/turbopack-tests/tests/snapshot/css/absolute-uri-import/output/{b1abf_turbopack-tests_tests_snapshot_css_absolute-uri-import_input_index_1db1fc.js.map => b1abf_turbopack-tests_tests_snapshot_css_absolute-uri-import_input_index_f6e9a4.js.map} (100%) rename turbopack/crates/turbopack-tests/tests/snapshot/css/chained-attributes/output/{4e721_crates_turbopack-tests_tests_snapshot_css_chained-attributes_input_index_36d809.js => 4e721_crates_turbopack-tests_tests_snapshot_css_chained-attributes_input_index_73b34b.js} (98%) rename turbopack/crates/turbopack-tests/tests/snapshot/css/chained-attributes/output/{4e721_crates_turbopack-tests_tests_snapshot_css_chained-attributes_input_index_36d809.js.map => 4e721_crates_turbopack-tests_tests_snapshot_css_chained-attributes_input_index_73b34b.js.map} (100%) rename turbopack/crates/turbopack-tests/tests/snapshot/css/css-legacy-nesting/output/{4e721_crates_turbopack-tests_tests_snapshot_css_css-legacy-nesting_input_index_b48c7f.js => 4e721_crates_turbopack-tests_tests_snapshot_css_css-legacy-nesting_input_index_b7a14b.js} (95%) rename turbopack/crates/turbopack-tests/tests/snapshot/css/css-legacy-nesting/output/{4e721_crates_turbopack-tests_tests_snapshot_css_css-legacy-nesting_input_index_b48c7f.js.map => 4e721_crates_turbopack-tests_tests_snapshot_css_css-legacy-nesting_input_index_b7a14b.js.map} (100%) rename turbopack/crates/turbopack-tests/tests/snapshot/css/css-modules/output/{4e721_crates_turbopack-tests_tests_snapshot_css_css-modules_input_index_9e42c2.js => 4e721_crates_turbopack-tests_tests_snapshot_css_css-modules_input_index_ae0851.js} (96%) rename turbopack/crates/turbopack-tests/tests/snapshot/css/css-modules/output/{4e721_crates_turbopack-tests_tests_snapshot_css_css-modules_input_index_9e42c2.js.map => 4e721_crates_turbopack-tests_tests_snapshot_css_css-modules_input_index_ae0851.js.map} (100%) rename turbopack/crates/turbopack-tests/tests/snapshot/css/css/output/{turbopack_crates_turbopack-tests_tests_snapshot_css_css_input_index_07435d.js => turbopack_crates_turbopack-tests_tests_snapshot_css_css_input_index_ec14ee.js} (98%) rename turbopack/crates/turbopack-tests/tests/snapshot/css/css/output/{turbopack_crates_turbopack-tests_tests_snapshot_css_css_input_index_07435d.js.map => turbopack_crates_turbopack-tests_tests_snapshot_css_css_input_index_ec14ee.js.map} (100%) rename turbopack/crates/turbopack-tests/tests/snapshot/css/relative-uri-import/output/{b1abf_turbopack-tests_tests_snapshot_css_relative-uri-import_input_index_0508f5.js => b1abf_turbopack-tests_tests_snapshot_css_relative-uri-import_input_index_9b2d89.js} (97%) rename turbopack/crates/turbopack-tests/tests/snapshot/css/relative-uri-import/output/{b1abf_turbopack-tests_tests_snapshot_css_relative-uri-import_input_index_0508f5.js.map => b1abf_turbopack-tests_tests_snapshot_css_relative-uri-import_input_index_9b2d89.js.map} (100%) rename turbopack/crates/turbopack-tests/tests/snapshot/css/scss/output/{turbopack_crates_turbopack-tests_tests_snapshot_css_scss_input_index_67dcb7.js => turbopack_crates_turbopack-tests_tests_snapshot_css_scss_input_index_1c4159.js} (93%) rename turbopack/crates/turbopack-tests/tests/snapshot/css/scss/output/{turbopack_crates_turbopack-tests_tests_snapshot_css_scss_input_index_67dcb7.js.map => turbopack_crates_turbopack-tests_tests_snapshot_css_scss_input_index_1c4159.js.map} (100%) rename turbopack/crates/turbopack-tests/tests/snapshot/css/url-in-supports-query/output/{b1abf_turbopack-tests_tests_snapshot_css_url-in-supports-query_input_index_81ab1c.js => b1abf_turbopack-tests_tests_snapshot_css_url-in-supports-query_input_index_001f19.js} (95%) rename turbopack/crates/turbopack-tests/tests/snapshot/css/url-in-supports-query/output/{b1abf_turbopack-tests_tests_snapshot_css_url-in-supports-query_input_index_81ab1c.js.map => b1abf_turbopack-tests_tests_snapshot_css_url-in-supports-query_input_index_001f19.js.map} (100%) rename turbopack/crates/turbopack-tests/tests/snapshot/cssmodules/composes/output/{4e721_crates_turbopack-tests_tests_snapshot_cssmodules_composes_input_index_8c962e.js => 4e721_crates_turbopack-tests_tests_snapshot_cssmodules_composes_input_index_a69792.js} (95%) rename turbopack/crates/turbopack-tests/tests/snapshot/cssmodules/composes/output/{4e721_crates_turbopack-tests_tests_snapshot_cssmodules_composes_input_index_8c962e.js.map => 4e721_crates_turbopack-tests_tests_snapshot_cssmodules_composes_input_index_a69792.js.map} (100%) rename turbopack/crates/turbopack-tests/tests/snapshot/cssmodules/relative-uri-import/output/{4c35f_tests_snapshot_cssmodules_relative-uri-import_input_index_a78f7c.js => 4c35f_tests_snapshot_cssmodules_relative-uri-import_input_index_1be590.js} (97%) rename turbopack/crates/turbopack-tests/tests/snapshot/cssmodules/relative-uri-import/output/{4c35f_tests_snapshot_cssmodules_relative-uri-import_input_index_a78f7c.js.map => 4c35f_tests_snapshot_cssmodules_relative-uri-import_input_index_1be590.js.map} (100%) rename turbopack/crates/turbopack-tests/tests/snapshot/dynamic-request/very-dynamic/output/{b1abf_turbopack-tests_tests_snapshot_dynamic-request_very-dynamic_input_index_254fe8.js => b1abf_turbopack-tests_tests_snapshot_dynamic-request_very-dynamic_input_index_db87b1.js} (91%) rename turbopack/crates/turbopack-tests/tests/snapshot/dynamic-request/very-dynamic/output/{b1abf_turbopack-tests_tests_snapshot_dynamic-request_very-dynamic_input_index_254fe8.js.map => b1abf_turbopack-tests_tests_snapshot_dynamic-request_very-dynamic_input_index_db87b1.js.map} (100%) rename turbopack/crates/turbopack-tests/tests/snapshot/emotion/emotion/output/{4e721_crates_turbopack-tests_tests_snapshot_emotion_emotion_input_index_b176e3.js => 4e721_crates_turbopack-tests_tests_snapshot_emotion_emotion_input_index_bc96cd.js} (92%) rename turbopack/crates/turbopack-tests/tests/snapshot/emotion/emotion/output/{4e721_crates_turbopack-tests_tests_snapshot_emotion_emotion_input_index_b176e3.js.map => 4e721_crates_turbopack-tests_tests_snapshot_emotion_emotion_input_index_bc96cd.js.map} (100%) rename turbopack/crates/turbopack-tests/tests/snapshot/env/env/output/{turbopack_crates_turbopack-tests_tests_snapshot_env_env_input_index_b481cd.js => turbopack_crates_turbopack-tests_tests_snapshot_env_env_input_index_95fd5e.js} (94%) rename turbopack/crates/turbopack-tests/tests/snapshot/env/env/output/{turbopack_crates_turbopack-tests_tests_snapshot_env_env_input_index_b481cd.js.map => turbopack_crates_turbopack-tests_tests_snapshot_env_env_input_index_95fd5e.js.map} (100%) rename turbopack/crates/turbopack-tests/tests/snapshot/evaluated_entrry/runtime_entry/output/{4c35f_tests_snapshot_evaluated_entrry_runtime_entry_input_index_51f6b2.js => 4c35f_tests_snapshot_evaluated_entrry_runtime_entry_input_index_e21b39.js} (94%) rename turbopack/crates/turbopack-tests/tests/snapshot/evaluated_entrry/runtime_entry/output/{4c35f_tests_snapshot_evaluated_entrry_runtime_entry_input_index_51f6b2.js.map => 4c35f_tests_snapshot_evaluated_entrry_runtime_entry_input_index_e21b39.js.map} (100%) rename turbopack/crates/turbopack-tests/tests/snapshot/example/example/output/{4e721_crates_turbopack-tests_tests_snapshot_example_example_input_index_9686eb.js => 4e721_crates_turbopack-tests_tests_snapshot_example_example_input_index_5be20a.js} (92%) rename turbopack/crates/turbopack-tests/tests/snapshot/example/example/output/{4e721_crates_turbopack-tests_tests_snapshot_example_example_input_index_9686eb.js.map => 4e721_crates_turbopack-tests_tests_snapshot_example_example_input_index_5be20a.js.map} (100%) rename turbopack/crates/turbopack-tests/tests/snapshot/export-alls/cjs-2/output/{4e721_crates_turbopack-tests_tests_snapshot_export-alls_cjs-2_input_index_5c4719.js => 4e721_crates_turbopack-tests_tests_snapshot_export-alls_cjs-2_input_index_2eb895.js} (92%) rename turbopack/crates/turbopack-tests/tests/snapshot/export-alls/cjs-2/output/{4e721_crates_turbopack-tests_tests_snapshot_export-alls_cjs-2_input_index_5c4719.js.map => 4e721_crates_turbopack-tests_tests_snapshot_export-alls_cjs-2_input_index_2eb895.js.map} (100%) rename turbopack/crates/turbopack-tests/tests/snapshot/export-alls/cjs-script/output/{4e721_crates_turbopack-tests_tests_snapshot_export-alls_cjs-script_input_index_cf9dd6.js => 4e721_crates_turbopack-tests_tests_snapshot_export-alls_cjs-script_input_index_72f575.js} (91%) rename turbopack/crates/turbopack-tests/tests/snapshot/export-alls/cjs-script/output/{4e721_crates_turbopack-tests_tests_snapshot_export-alls_cjs-script_input_index_cf9dd6.js.map => 4e721_crates_turbopack-tests_tests_snapshot_export-alls_cjs-script_input_index_72f575.js.map} (100%) rename turbopack/crates/turbopack-tests/tests/snapshot/import-meta/cjs/output/{4e721_crates_turbopack-tests_tests_snapshot_import-meta_cjs_input_index_f94bd9.js => 4e721_crates_turbopack-tests_tests_snapshot_import-meta_cjs_input_index_2f75c0.js} (92%) rename turbopack/crates/turbopack-tests/tests/snapshot/import-meta/cjs/output/{4e721_crates_turbopack-tests_tests_snapshot_import-meta_cjs_input_index_f94bd9.js.map => 4e721_crates_turbopack-tests_tests_snapshot_import-meta_cjs_input_index_2f75c0.js.map} (100%) rename turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm-multiple/output/{b1abf_turbopack-tests_tests_snapshot_import-meta_esm-multiple_input_index_ad408f.js => b1abf_turbopack-tests_tests_snapshot_import-meta_esm-multiple_input_index_8d5fae.js} (92%) rename turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm-multiple/output/{b1abf_turbopack-tests_tests_snapshot_import-meta_esm-multiple_input_index_ad408f.js.map => b1abf_turbopack-tests_tests_snapshot_import-meta_esm-multiple_input_index_8d5fae.js.map} (100%) rename turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm-mutable/output/{b1abf_turbopack-tests_tests_snapshot_import-meta_esm-mutable_input_index_490142.js => b1abf_turbopack-tests_tests_snapshot_import-meta_esm-mutable_input_index_60b84a.js} (92%) rename turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm-mutable/output/{b1abf_turbopack-tests_tests_snapshot_import-meta_esm-mutable_input_index_490142.js.map => b1abf_turbopack-tests_tests_snapshot_import-meta_esm-mutable_input_index_60b84a.js.map} (100%) rename turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm-object/output/{4e721_crates_turbopack-tests_tests_snapshot_import-meta_esm-object_input_index_165d4c.js => 4e721_crates_turbopack-tests_tests_snapshot_import-meta_esm-object_input_index_66f6e5.js} (91%) rename turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm-object/output/{4e721_crates_turbopack-tests_tests_snapshot_import-meta_esm-object_input_index_165d4c.js.map => 4e721_crates_turbopack-tests_tests_snapshot_import-meta_esm-object_input_index_66f6e5.js.map} (100%) rename turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm/output/{4e721_crates_turbopack-tests_tests_snapshot_import-meta_esm_input_index_0a6361.js => 4e721_crates_turbopack-tests_tests_snapshot_import-meta_esm_input_index_02fed5.js} (92%) rename turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm/output/{4e721_crates_turbopack-tests_tests_snapshot_import-meta_esm_input_index_0a6361.js.map => 4e721_crates_turbopack-tests_tests_snapshot_import-meta_esm_input_index_02fed5.js.map} (100%) rename turbopack/crates/turbopack-tests/tests/snapshot/import-meta/url/output/{4e721_crates_turbopack-tests_tests_snapshot_import-meta_url_input_index_ca7f9d.js => 4e721_crates_turbopack-tests_tests_snapshot_import-meta_url_input_index_da7049.js} (92%) rename turbopack/crates/turbopack-tests/tests/snapshot/import-meta/url/output/{4e721_crates_turbopack-tests_tests_snapshot_import-meta_url_input_index_ca7f9d.js.map => 4e721_crates_turbopack-tests_tests_snapshot_import-meta_url_input_index_da7049.js.map} (100%) rename turbopack/crates/turbopack-tests/tests/snapshot/imports/duplicate-binding/output/{b1abf_turbopack-tests_tests_snapshot_imports_duplicate-binding_input_index_837872.js => b1abf_turbopack-tests_tests_snapshot_imports_duplicate-binding_input_index_353d51.js} (92%) rename turbopack/crates/turbopack-tests/tests/snapshot/imports/duplicate-binding/output/{b1abf_turbopack-tests_tests_snapshot_imports_duplicate-binding_input_index_837872.js.map => b1abf_turbopack-tests_tests_snapshot_imports_duplicate-binding_input_index_353d51.js.map} (100%) rename turbopack/crates/turbopack-tests/tests/snapshot/imports/dynamic/output/{4e721_crates_turbopack-tests_tests_snapshot_imports_dynamic_input_index_f85706.js => 4e721_crates_turbopack-tests_tests_snapshot_imports_dynamic_input_index_41b5f3.js} (93%) rename turbopack/crates/turbopack-tests/tests/snapshot/imports/dynamic/output/{4e721_crates_turbopack-tests_tests_snapshot_imports_dynamic_input_index_f85706.js.map => 4e721_crates_turbopack-tests_tests_snapshot_imports_dynamic_input_index_41b5f3.js.map} (100%) rename turbopack/crates/turbopack-tests/tests/snapshot/imports/ignore-comments/output/{c5b29_tests_snapshot_imports_ignore-comments_input_vercel_cjs_75b6e3___092279.js => 61784_tests_snapshot_imports_ignore-comments_input_vercel_cjs_75b6e3___ad9094.js} (78%) rename turbopack/crates/turbopack-tests/tests/snapshot/imports/ignore-comments/output/{b1abf_turbopack-tests_tests_snapshot_imports_ignore-comments_input_index_61a75d.js.map => 61784_tests_snapshot_imports_ignore-comments_input_vercel_cjs_75b6e3___ad9094.js.map} (100%) rename turbopack/crates/turbopack-tests/tests/snapshot/imports/ignore-comments/output/{b1abf_turbopack-tests_tests_snapshot_imports_ignore-comments_input_index_61a75d.js => b1abf_turbopack-tests_tests_snapshot_imports_ignore-comments_input_index_b5a38b.js} (93%) rename turbopack/crates/turbopack-tests/tests/snapshot/imports/ignore-comments/output/{c5b29_tests_snapshot_imports_ignore-comments_input_vercel_cjs_75b6e3___092279.js.map => b1abf_turbopack-tests_tests_snapshot_imports_ignore-comments_input_index_b5a38b.js.map} (100%) rename turbopack/crates/turbopack-tests/tests/snapshot/imports/json/output/{turbopack_crates_turbopack-tests_tests_snapshot_imports_json_input_index_d3d451.js => turbopack_crates_turbopack-tests_tests_snapshot_imports_json_input_index_485b5d.js} (92%) rename turbopack/crates/turbopack-tests/tests/snapshot/imports/json/output/{turbopack_crates_turbopack-tests_tests_snapshot_imports_json_input_index_d3d451.js.map => turbopack_crates_turbopack-tests_tests_snapshot_imports_json_input_index_485b5d.js.map} (100%) rename turbopack/crates/turbopack-tests/tests/snapshot/imports/order/output/{turbopack_crates_turbopack-tests_tests_snapshot_imports_order_input_index_d2d66e.js => turbopack_crates_turbopack-tests_tests_snapshot_imports_order_input_index_2b08c3.js} (92%) rename turbopack/crates/turbopack-tests/tests/snapshot/imports/order/output/{turbopack_crates_turbopack-tests_tests_snapshot_imports_order_input_index_d2d66e.js.map => turbopack_crates_turbopack-tests_tests_snapshot_imports_order_input_index_2b08c3.js.map} (100%) rename turbopack/crates/turbopack-tests/tests/snapshot/imports/resolve_error_cjs/output/{b1abf_turbopack-tests_tests_snapshot_imports_resolve_error_cjs_input_index_ee035d.js => b1abf_turbopack-tests_tests_snapshot_imports_resolve_error_cjs_input_index_cdc481.js} (92%) rename turbopack/crates/turbopack-tests/tests/snapshot/imports/resolve_error_cjs/output/{b1abf_turbopack-tests_tests_snapshot_imports_resolve_error_cjs_input_index_ee035d.js.map => b1abf_turbopack-tests_tests_snapshot_imports_resolve_error_cjs_input_index_cdc481.js.map} (100%) rename turbopack/crates/turbopack-tests/tests/snapshot/imports/resolve_error_esm/output/{b1abf_turbopack-tests_tests_snapshot_imports_resolve_error_esm_input_index_9d62ac.js => b1abf_turbopack-tests_tests_snapshot_imports_resolve_error_esm_input_index_1fa1cb.js} (92%) rename turbopack/crates/turbopack-tests/tests/snapshot/imports/resolve_error_esm/output/{b1abf_turbopack-tests_tests_snapshot_imports_resolve_error_esm_input_index_9d62ac.js.map => b1abf_turbopack-tests_tests_snapshot_imports_resolve_error_esm_input_index_1fa1cb.js.map} (100%) rename turbopack/crates/turbopack-tests/tests/snapshot/imports/static-and-dynamic/output/{b1abf_turbopack-tests_tests_snapshot_imports_static-and-dynamic_input_index_e8502f.js => b1abf_turbopack-tests_tests_snapshot_imports_static-and-dynamic_input_index_aeac15.js} (93%) rename turbopack/crates/turbopack-tests/tests/snapshot/imports/static-and-dynamic/output/{b1abf_turbopack-tests_tests_snapshot_imports_static-and-dynamic_input_index_e8502f.js.map => b1abf_turbopack-tests_tests_snapshot_imports_static-and-dynamic_input_index_aeac15.js.map} (100%) rename turbopack/crates/turbopack-tests/tests/snapshot/imports/static/output/{4e721_crates_turbopack-tests_tests_snapshot_imports_static_input_index_97c6d9.js => 4e721_crates_turbopack-tests_tests_snapshot_imports_static_input_index_b30b52.js} (92%) rename turbopack/crates/turbopack-tests/tests/snapshot/imports/static/output/{4e721_crates_turbopack-tests_tests_snapshot_imports_static_input_index_97c6d9.js.map => 4e721_crates_turbopack-tests_tests_snapshot_imports_static_input_index_b30b52.js.map} (100%) rename turbopack/crates/turbopack-tests/tests/snapshot/imports/subpath-imports-nested/output/{4c35f_tests_snapshot_imports_subpath-imports-nested_input_index_cef629.js => 4c35f_tests_snapshot_imports_subpath-imports-nested_input_index_d845f9.js} (94%) rename turbopack/crates/turbopack-tests/tests/snapshot/imports/subpath-imports-nested/output/{4c35f_tests_snapshot_imports_subpath-imports-nested_input_index_cef629.js.map => 4c35f_tests_snapshot_imports_subpath-imports-nested_input_index_d845f9.js.map} (100%) rename turbopack/crates/turbopack-tests/tests/snapshot/imports/subpath-imports/output/{b1abf_turbopack-tests_tests_snapshot_imports_subpath-imports_input_index_a0198f.js => b1abf_turbopack-tests_tests_snapshot_imports_subpath-imports_input_index_3f6f52.js} (92%) rename turbopack/crates/turbopack-tests/tests/snapshot/imports/subpath-imports/output/{b1abf_turbopack-tests_tests_snapshot_imports_subpath-imports_input_index_a0198f.js.map => b1abf_turbopack-tests_tests_snapshot_imports_subpath-imports_input_index_3f6f52.js.map} (100%) rename turbopack/crates/turbopack-tests/tests/snapshot/mdx/error/output/{turbopack_crates_turbopack-tests_tests_snapshot_mdx_error_input_index_bb12ba.js => turbopack_crates_turbopack-tests_tests_snapshot_mdx_error_input_index_983765.js} (92%) rename turbopack/crates/turbopack-tests/tests/snapshot/mdx/error/output/{turbopack_crates_turbopack-tests_tests_snapshot_mdx_error_input_index_bb12ba.js.map => turbopack_crates_turbopack-tests_tests_snapshot_mdx_error_input_index_983765.js.map} (100%) rename turbopack/crates/turbopack-tests/tests/snapshot/minification/paren-remover/output/{b1abf_turbopack-tests_tests_snapshot_minification_paren-remover_input_index_9fb543.js => b1abf_turbopack-tests_tests_snapshot_minification_paren-remover_input_index_2fbcfd.js} (91%) rename turbopack/crates/turbopack-tests/tests/snapshot/minification/paren-remover/output/{b1abf_turbopack-tests_tests_snapshot_minification_paren-remover_input_index_9fb543.js.map => b1abf_turbopack-tests_tests_snapshot_minification_paren-remover_input_index_2fbcfd.js.map} (100%) rename turbopack/crates/turbopack-tests/tests/snapshot/node/node_protocol_external/output/{b1abf_turbopack-tests_tests_snapshot_node_node_protocol_external_input_index_763243.js => b1abf_turbopack-tests_tests_snapshot_node_node_protocol_external_input_index_af4d59.js} (91%) rename turbopack/crates/turbopack-tests/tests/snapshot/node/node_protocol_external/output/{b1abf_turbopack-tests_tests_snapshot_node_node_protocol_external_input_index_763243.js.map => b1abf_turbopack-tests_tests_snapshot_node_node_protocol_external_input_index_af4d59.js.map} (100%) rename turbopack/crates/turbopack-tests/tests/snapshot/node/spawn_dynamic/output/{4e721_crates_turbopack-tests_tests_snapshot_node_spawn_dynamic_input_index_870a27.js => 4e721_crates_turbopack-tests_tests_snapshot_node_spawn_dynamic_input_index_b06e6d.js} (91%) rename turbopack/crates/turbopack-tests/tests/snapshot/node/spawn_dynamic/output/{4e721_crates_turbopack-tests_tests_snapshot_node_spawn_dynamic_input_index_870a27.js.map => 4e721_crates_turbopack-tests_tests_snapshot_node_spawn_dynamic_input_index_b06e6d.js.map} (100%) rename turbopack/crates/turbopack-tests/tests/snapshot/node/spawn_node_eval/output/{4e721_crates_turbopack-tests_tests_snapshot_node_spawn_node_eval_input_index_f0344c.js => 4e721_crates_turbopack-tests_tests_snapshot_node_spawn_node_eval_input_index_42a3e6.js} (91%) rename turbopack/crates/turbopack-tests/tests/snapshot/node/spawn_node_eval/output/{4e721_crates_turbopack-tests_tests_snapshot_node_spawn_node_eval_input_index_f0344c.js.map => 4e721_crates_turbopack-tests_tests_snapshot_node_spawn_node_eval_input_index_42a3e6.js.map} (100%) rename turbopack/crates/turbopack-tests/tests/snapshot/runtime/default_dev_runtime/output/{b1abf_turbopack-tests_tests_snapshot_runtime_default_dev_runtime_input_index_b6426d.js => b1abf_turbopack-tests_tests_snapshot_runtime_default_dev_runtime_input_index_bfa467.js} (99%) rename turbopack/crates/turbopack-tests/tests/snapshot/runtime/default_dev_runtime/output/{b1abf_turbopack-tests_tests_snapshot_runtime_default_dev_runtime_input_index_b6426d.js.map => b1abf_turbopack-tests_tests_snapshot_runtime_default_dev_runtime_input_index_bfa467.js.map} (100%) rename turbopack/crates/turbopack-tests/tests/snapshot/styled_components/styled_components/output/{4c35f_tests_snapshot_styled_components_styled_components_input_index_c06781.js => 4c35f_tests_snapshot_styled_components_styled_components_input_index_6b8210.js} (93%) rename turbopack/crates/turbopack-tests/tests/snapshot/styled_components/styled_components/output/{4c35f_tests_snapshot_styled_components_styled_components_input_index_c06781.js.map => 4c35f_tests_snapshot_styled_components_styled_components_input_index_6b8210.js.map} (100%) rename turbopack/crates/turbopack-tests/tests/snapshot/swc_transforms/mono_transforms/output/{4c35f_tests_snapshot_swc_transforms_mono_transforms_input_packages_app_index_52fca0.js => 4c35f_tests_snapshot_swc_transforms_mono_transforms_input_packages_app_index_9baabf.js} (91%) rename turbopack/crates/turbopack-tests/tests/snapshot/swc_transforms/mono_transforms/output/{4c35f_tests_snapshot_swc_transforms_mono_transforms_input_packages_app_index_52fca0.js.map => 4c35f_tests_snapshot_swc_transforms_mono_transforms_input_packages_app_index_9baabf.js.map} (100%) rename turbopack/crates/turbopack-tests/tests/snapshot/swc_transforms/preset_env/output/{b1abf_turbopack-tests_tests_snapshot_swc_transforms_preset_env_input_index_354b2d.js => b1abf_turbopack-tests_tests_snapshot_swc_transforms_preset_env_input_index_3890b0.js} (91%) rename turbopack/crates/turbopack-tests/tests/snapshot/swc_transforms/preset_env/output/{b1abf_turbopack-tests_tests_snapshot_swc_transforms_preset_env_input_index_354b2d.js.map => b1abf_turbopack-tests_tests_snapshot_swc_transforms_preset_env_input_index_3890b0.js.map} (100%) rename turbopack/crates/turbopack-tests/tests/snapshot/tree-shaking/dce/output/{4e721_crates_turbopack-tests_tests_snapshot_tree-shaking_dce_input_index_3a60bd.js => 4e721_crates_turbopack-tests_tests_snapshot_tree-shaking_dce_input_index_f2c827.js} (92%) rename turbopack/crates/turbopack-tests/tests/snapshot/tree-shaking/dce/output/{4e721_crates_turbopack-tests_tests_snapshot_tree-shaking_dce_input_index_3a60bd.js.map => 4e721_crates_turbopack-tests_tests_snapshot_tree-shaking_dce_input_index_f2c827.js.map} (100%) rename turbopack/crates/turbopack-tests/tests/snapshot/typescript/jsconfig-baseurl/output/{b1abf_turbopack-tests_tests_snapshot_typescript_jsconfig-baseurl_input_index_c6a63d.js => b1abf_turbopack-tests_tests_snapshot_typescript_jsconfig-baseurl_input_index_deb25b.js} (91%) rename turbopack/crates/turbopack-tests/tests/snapshot/typescript/jsconfig-baseurl/output/{b1abf_turbopack-tests_tests_snapshot_typescript_jsconfig-baseurl_input_index_c6a63d.js.map => b1abf_turbopack-tests_tests_snapshot_typescript_jsconfig-baseurl_input_index_deb25b.js.map} (100%) rename turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-baseurl/output/{4c35f_tests_snapshot_typescript_tsconfig-baseurl_input_index_ts_48f30a._.js => 4c35f_tests_snapshot_typescript_tsconfig-baseurl_input_index_ts_f1475c._.js} (94%) rename turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-baseurl/output/{4c35f_tests_snapshot_typescript_tsconfig-baseurl_input_index_ts_48f30a._.js.map => 4c35f_tests_snapshot_typescript_tsconfig-baseurl_input_index_ts_f1475c._.js.map} (100%) rename turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends-module-full-path/output/{457d9_snapshot_typescript_tsconfig-extends-module-full-path_input_index_ts_282934._.js => 457d9_snapshot_typescript_tsconfig-extends-module-full-path_input_index_ts_c43bb3._.js} (91%) rename turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends-module-full-path/output/{457d9_snapshot_typescript_tsconfig-extends-module-full-path_input_index_ts_282934._.js.map => 457d9_snapshot_typescript_tsconfig-extends-module-full-path_input_index_ts_c43bb3._.js.map} (100%) rename turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends-module/output/{4c35f_tests_snapshot_typescript_tsconfig-extends-module_input_index_ts_ec47b6._.js => 4c35f_tests_snapshot_typescript_tsconfig-extends-module_input_index_ts_4ce860._.js} (92%) rename turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends-module/output/{4c35f_tests_snapshot_typescript_tsconfig-extends-module_input_index_ts_ec47b6._.js.map => 4c35f_tests_snapshot_typescript_tsconfig-extends-module_input_index_ts_4ce860._.js.map} (100%) rename turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends-relative-dir/output/{4c35f_tests_snapshot_typescript_tsconfig-extends-relative-dir_input_index_ts_704a63._.js => 4c35f_tests_snapshot_typescript_tsconfig-extends-relative-dir_input_index_ts_c42252._.js} (91%) rename turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends-relative-dir/output/{4c35f_tests_snapshot_typescript_tsconfig-extends-relative-dir_input_index_ts_704a63._.js.map => 4c35f_tests_snapshot_typescript_tsconfig-extends-relative-dir_input_index_ts_c42252._.js.map} (100%) rename turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends-without-ext/output/{4c35f_tests_snapshot_typescript_tsconfig-extends-without-ext_input_index_ts_cfc0d8._.js => 4c35f_tests_snapshot_typescript_tsconfig-extends-without-ext_input_index_ts_4546b9._.js} (91%) rename turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends-without-ext/output/{4c35f_tests_snapshot_typescript_tsconfig-extends-without-ext_input_index_ts_cfc0d8._.js.map => 4c35f_tests_snapshot_typescript_tsconfig-extends-without-ext_input_index_ts_4546b9._.js.map} (100%) rename turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends/output/{4c35f_tests_snapshot_typescript_tsconfig-extends_input_index_ts_32cac0._.js => 4c35f_tests_snapshot_typescript_tsconfig-extends_input_index_ts_4c689d._.js} (94%) rename turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends/output/{4c35f_tests_snapshot_typescript_tsconfig-extends_input_index_ts_32cac0._.js.map => 4c35f_tests_snapshot_typescript_tsconfig-extends_input_index_ts_4c689d._.js.map} (100%) diff --git a/crates/next-api/src/project.rs b/crates/next-api/src/project.rs index d0d3c8893c782..232f473826c7f 100644 --- a/crates/next-api/src/project.rs +++ b/crates/next-api/src/project.rs @@ -647,6 +647,18 @@ impl Project { )) } + #[turbo_tasks::function] + pub async fn node_root_to_root_path(self: Vc) -> Result> { + let this = self.await?; + let output_root_to_root_path = self + .project_path() + .join(this.dist_dir.clone()) + .await? + .get_relative_path_to(&*self.project_root_path().await?) + .context("Project path need to be in root path")?; + Ok(Vc::cell(output_root_to_root_path)) + } + #[turbo_tasks::function] pub async fn project_path(self: Vc) -> Result> { let this = self.await?; @@ -695,6 +707,7 @@ impl Project { NodeJsChunkingContext::builder( self.project_root_path().to_resolved().await?, node_root, + self.node_root_to_root_path().to_resolved().await?, node_root, node_root.join("build/chunks".into()).to_resolved().await?, node_root.join("build/assets".into()).to_resolved().await?, @@ -822,6 +835,7 @@ impl Project { get_client_chunking_context( self.project_root_path(), self.client_relative_path(), + Vc::cell("/ROOT".into()), self.next_config().computed_asset_prefix(), self.client_compile_time_info().environment(), self.next_mode(), @@ -840,6 +854,7 @@ impl Project { self.next_mode(), self.project_root_path(), self.node_root(), + self.node_root_to_root_path(), self.client_relative_path(), self.next_config().computed_asset_prefix(), self.server_compile_time_info().environment(), @@ -851,6 +866,7 @@ impl Project { self.next_mode(), self.project_root_path(), self.node_root(), + self.node_root_to_root_path(), self.server_compile_time_info().environment(), self.module_id_strategy(), self.next_config().turbo_minify(self.next_mode()), @@ -868,6 +884,7 @@ impl Project { self.next_mode(), self.project_root_path(), self.node_root(), + self.node_root_to_root_path(), self.client_relative_path(), self.next_config().computed_asset_prefix(), self.edge_compile_time_info().environment(), @@ -879,6 +896,7 @@ impl Project { self.next_mode(), self.project_root_path(), self.node_root(), + self.node_root_to_root_path(), self.edge_compile_time_info().environment(), self.module_id_strategy(), self.next_config().turbo_minify(self.next_mode()), diff --git a/crates/next-core/src/next_client/context.rs b/crates/next-core/src/next_client/context.rs index 076395b20f00d..7018f9735c4a1 100644 --- a/crates/next-core/src/next_client/context.rs +++ b/crates/next-core/src/next_client/context.rs @@ -398,8 +398,9 @@ pub async fn get_client_module_options_context( #[turbo_tasks::function] pub async fn get_client_chunking_context( - project_path: ResolvedVc, + root_path: ResolvedVc, client_root: ResolvedVc, + client_root_to_root_path: ResolvedVc, asset_prefix: ResolvedVc>, environment: ResolvedVc, mode: Vc, @@ -408,8 +409,9 @@ pub async fn get_client_chunking_context( ) -> Result>> { let next_mode = mode.await?; let mut builder = BrowserChunkingContext::builder( - project_path, + root_path, client_root, + client_root_to_root_path, client_root, client_root .join("static/chunks".into()) diff --git a/crates/next-core/src/next_edge/context.rs b/crates/next-core/src/next_edge/context.rs index 17ad79a49faf3..60513cc9ce5e2 100644 --- a/crates/next-core/src/next_edge/context.rs +++ b/crates/next-core/src/next_edge/context.rs @@ -200,8 +200,9 @@ pub async fn get_edge_resolve_options_context( #[turbo_tasks::function] pub async fn get_edge_chunking_context_with_client_assets( mode: Vc, - project_path: ResolvedVc, + root_path: ResolvedVc, node_root: ResolvedVc, + output_root_to_root_path: ResolvedVc, client_root: ResolvedVc, asset_prefix: ResolvedVc>, environment: ResolvedVc, @@ -212,8 +213,9 @@ pub async fn get_edge_chunking_context_with_client_assets( let next_mode = mode.await?; Ok(Vc::upcast( BrowserChunkingContext::builder( - project_path, + root_path, output_root, + output_root_to_root_path, client_root, output_root.join("chunks/ssr".into()).to_resolved().await?, client_root @@ -237,8 +239,9 @@ pub async fn get_edge_chunking_context_with_client_assets( #[turbo_tasks::function] pub async fn get_edge_chunking_context( mode: Vc, - project_path: ResolvedVc, + root_path: ResolvedVc, node_root: ResolvedVc, + node_root_to_root_path: ResolvedVc, environment: ResolvedVc, module_id_strategy: ResolvedVc>, turbo_minify: Vc, @@ -247,8 +250,9 @@ pub async fn get_edge_chunking_context( let next_mode = mode.await?; Ok(Vc::upcast( BrowserChunkingContext::builder( - project_path, + root_path, output_root, + node_root_to_root_path, output_root, output_root.join("chunks".into()).to_resolved().await?, output_root.join("assets".into()).to_resolved().await?, diff --git a/crates/next-core/src/next_server/context.rs b/crates/next-core/src/next_server/context.rs index e0587ff0814d4..312df4fbe178c 100644 --- a/crates/next-core/src/next_server/context.rs +++ b/crates/next-core/src/next_server/context.rs @@ -976,6 +976,7 @@ pub async fn get_server_chunking_context_with_client_assets( mode: Vc, root_path: ResolvedVc, node_root: ResolvedVc, + node_root_to_root_path: ResolvedVc, client_root: ResolvedVc, asset_prefix: ResolvedVc>, environment: ResolvedVc, @@ -989,6 +990,7 @@ pub async fn get_server_chunking_context_with_client_assets( let mut builder = NodeJsChunkingContext::builder( root_path, node_root, + node_root_to_root_path, client_root, node_root .join("server/chunks/ssr".into()) @@ -1021,6 +1023,7 @@ pub async fn get_server_chunking_context( mode: Vc, root_path: ResolvedVc, node_root: ResolvedVc, + node_root_to_root_path: ResolvedVc, environment: ResolvedVc, module_id_strategy: ResolvedVc>, turbo_minify: Vc, @@ -1032,6 +1035,7 @@ pub async fn get_server_chunking_context( let mut builder = NodeJsChunkingContext::builder( root_path, node_root, + node_root_to_root_path, node_root, node_root.join("server/chunks".into()).to_resolved().await?, node_root.join("server/assets".into()).to_resolved().await?, diff --git a/turbopack/crates/turbopack-browser/src/chunking_context.rs b/turbopack/crates/turbopack-browser/src/chunking_context.rs index f80d6149d2daf..abfa206dd4115 100644 --- a/turbopack/crates/turbopack-browser/src/chunking_context.rs +++ b/turbopack/crates/turbopack-browser/src/chunking_context.rs @@ -118,6 +118,8 @@ pub struct BrowserChunkingContext { should_use_file_source_map_uris: bool, /// This path is used to compute the url to request chunks from output_root: ResolvedVc, + /// The relative path from the output_root to the root_path. + output_root_to_root_path: ResolvedVc, /// This path is used to compute the url to request assets from client_root: ResolvedVc, /// Chunks are placed at this path @@ -154,6 +156,7 @@ impl BrowserChunkingContext { pub fn builder( root_path: ResolvedVc, output_root: ResolvedVc, + output_root_to_root_path: ResolvedVc, client_root: ResolvedVc, chunk_root_path: ResolvedVc, asset_root_path: ResolvedVc, @@ -165,6 +168,7 @@ impl BrowserChunkingContext { name: None, root_path, output_root, + output_root_to_root_path, client_root, chunk_root_path, should_use_file_source_map_uris: false, @@ -286,6 +290,11 @@ impl ChunkingContext for BrowserChunkingContext { *self.output_root } + #[turbo_tasks::function] + fn output_root_to_root_path(&self) -> Vc { + *self.output_root_to_root_path + } + #[turbo_tasks::function] fn environment(&self) -> Vc { *self.environment diff --git a/turbopack/crates/turbopack-browser/src/ecmascript/evaluate/chunk.rs b/turbopack/crates/turbopack-browser/src/ecmascript/evaluate/chunk.rs index fdffac2a84272..3b3710ccdd189 100644 --- a/turbopack/crates/turbopack-browser/src/ecmascript/evaluate/chunk.rs +++ b/turbopack/crates/turbopack-browser/src/ecmascript/evaluate/chunk.rs @@ -69,6 +69,7 @@ impl EcmascriptDevEvaluateChunk { let environment = this.chunking_context.environment(); let output_root = this.chunking_context.output_root().await?; + let output_root_to_root_path = this.chunking_context.output_root_to_root_path(); let chunk_path_vc = self.ident().path(); let chunk_path = chunk_path_vc.await?; let chunk_public_path = if let Some(path) = output_root.get_path_to(&chunk_path) { @@ -145,7 +146,7 @@ impl EcmascriptDevEvaluateChunk { environment, chunking_context.chunk_base_path(), Value::new(chunking_context.runtime_type()), - Vc::cell(output_root.to_string().into()), + output_root_to_root_path, ); code.push_code(&*runtime_code.await?); } @@ -154,7 +155,7 @@ impl EcmascriptDevEvaluateChunk { environment, chunking_context.chunk_base_path(), Value::new(chunking_context.runtime_type()), - Vc::cell(output_root.to_string().into()), + output_root_to_root_path, ); code.push_code(&*runtime_code.await?); } diff --git a/turbopack/crates/turbopack-cli/src/build/mod.rs b/turbopack/crates/turbopack-cli/src/build/mod.rs index f2de763ca4ae9..2693ec10edf2b 100644 --- a/turbopack/crates/turbopack-cli/src/build/mod.rs +++ b/turbopack/crates/turbopack-cli/src/build/mod.rs @@ -189,19 +189,23 @@ async fn build_internal( .unwrap_or(project_relative) .replace(MAIN_SEPARATOR, "/") .into(); - let project_path = project_fs - .root() - .join(project_relative) - .to_resolved() - .await?; + let root_path = project_fs.root().to_resolved().await?; + let project_path = root_path.join(project_relative).to_resolved().await?; let build_output_root = output_fs.root().join("dist".into()).to_resolved().await?; let node_env = NodeEnv::Production.cell(); + let build_output_root_to_root_path = project_path + .join("dist".into()) + .await? + .get_relative_path_to(&*root_path.await?) + .context("Project path is in root path")?; + let chunking_context = Vc::upcast( NodeJsChunkingContext::builder( - project_path, + root_path, build_output_root, + ResolvedVc::cell(build_output_root_to_root_path), build_output_root, build_output_root, build_output_root, @@ -217,7 +221,7 @@ async fn build_internal( let compile_time_info = get_client_compile_time_info(browserslist_query, node_env); let execution_context = - ExecutionContext::new(*project_path, chunking_context, load_env(*project_path)); + ExecutionContext::new(*root_path, chunking_context, load_env(*root_path)); let asset_context = get_client_asset_context( *project_path, execution_context, diff --git a/turbopack/crates/turbopack-cli/src/dev/mod.rs b/turbopack/crates/turbopack-cli/src/dev/mod.rs index d2d6c0b2cee8b..a042a444b29da 100644 --- a/turbopack/crates/turbopack-cli/src/dev/mod.rs +++ b/turbopack/crates/turbopack-cli/src/dev/mod.rs @@ -242,19 +242,28 @@ async fn source( .into(); let output_fs = output_fs(project_dir); - let fs = project_fs(root_dir); - let project_path = fs.root().join(project_relative).to_resolved().await?; + let fs: Vc> = project_fs(root_dir); + let root_path = fs.root().to_resolved().await?; + let project_path = root_path.join(project_relative).to_resolved().await?; - let env = load_env(*project_path); + let env = load_env(*root_path); let build_output_root = output_fs .root() .join(".turbopack/build".into()) .to_resolved() .await?; + let build_output_root_to_root_path = project_path + .join(".turbopack/build".into()) + .await? + .get_relative_path_to(&*root_path.await?) + .context("Project path is in root path")?; + let build_output_root_to_root_path = ResolvedVc::cell(build_output_root_to_root_path); + let build_chunking_context = NodeJsChunkingContext::builder( - project_path, + root_path, build_output_root, + build_output_root_to_root_path, build_output_root, build_output_root .join("chunks".into()) @@ -270,7 +279,7 @@ async fn source( .build(); let execution_context = - ExecutionContext::new(*project_path, Vc::upcast(build_chunking_context), env); + ExecutionContext::new(*root_path, Vc::upcast(build_chunking_context), env); let server_fs = Vc::upcast::>(ServerFileSystem::new()); let server_root = server_fs.root(); @@ -292,11 +301,12 @@ async fn source( }) .collect(); - let web_source = create_web_entry_source( - *project_path, + let web_source: ResolvedVc> = create_web_entry_source( + *root_path, execution_context, entry_requests, server_root, + Vc::cell("/ROOT".into()), env, eager_compile, NodeEnv::Development.cell(), diff --git a/turbopack/crates/turbopack-cli/src/dev/web_entry_source.rs b/turbopack/crates/turbopack-cli/src/dev/web_entry_source.rs index e879bb8cd6cdd..2b781fb2f54bb 100644 --- a/turbopack/crates/turbopack-cli/src/dev/web_entry_source.rs +++ b/turbopack/crates/turbopack-cli/src/dev/web_entry_source.rs @@ -34,12 +34,14 @@ use crate::{ pub async fn get_client_chunking_context( root_path: ResolvedVc, server_root: ResolvedVc, + server_root_to_root_path: ResolvedVc, environment: ResolvedVc, ) -> Result>> { Ok(Vc::upcast( BrowserChunkingContext::builder( root_path, server_root, + server_root_to_root_path, server_root, server_root.join("/_chunks".into()).to_resolved().await?, server_root.join("/_assets".into()).to_resolved().await?, @@ -96,6 +98,7 @@ pub async fn create_web_entry_source( execution_context: Vc, entry_requests: Vec>, server_root: Vc, + server_root_to_root_path: ResolvedVc, _env: Vc>, eager_compile: bool, node_env: Vc, @@ -104,8 +107,12 @@ pub async fn create_web_entry_source( let compile_time_info = get_client_compile_time_info(browserslist_query, node_env); let asset_context = get_client_asset_context(root_path, execution_context, compile_time_info, node_env); - let chunking_context = - get_client_chunking_context(root_path, server_root, compile_time_info.environment()); + let chunking_context = get_client_chunking_context( + root_path, + server_root, + *server_root_to_root_path, + compile_time_info.environment(), + ); let entries = get_client_runtime_entries(root_path, node_env); let runtime_entries = entries.resolve_entries(asset_context); diff --git a/turbopack/crates/turbopack-core/src/chunk/chunking_context.rs b/turbopack/crates/turbopack-core/src/chunk/chunking_context.rs index 9672475006443..b3f1695a19874 100644 --- a/turbopack/crates/turbopack-core/src/chunk/chunking_context.rs +++ b/turbopack/crates/turbopack-core/src/chunk/chunking_context.rs @@ -73,7 +73,11 @@ pub trait ChunkingContext { fn should_use_file_source_map_uris(self: Vc) -> Vc; // The root path of the project fn root_path(self: Vc) -> Vc; + // The output root path in the output filesystem fn output_root(self: Vc) -> Vc; + // A relative path how to reach the root path from the output root. This is used to compute + // original paths at runtime relative to the output files. e. g. import.meta.url needs that. + fn output_root_to_root_path(self: Vc) -> Vc; // TODO remove this, a chunking context should not be bound to a specific // environment since this can change due to transitions in the module graph diff --git a/turbopack/crates/turbopack-ecmascript-runtime/js/src/nodejs/runtime.ts b/turbopack/crates/turbopack-ecmascript-runtime/js/src/nodejs/runtime.ts index 7106a401e004f..95aae783b4298 100644 --- a/turbopack/crates/turbopack-ecmascript-runtime/js/src/nodejs/runtime.ts +++ b/turbopack/crates/turbopack-ecmascript-runtime/js/src/nodejs/runtime.ts @@ -77,8 +77,7 @@ function createResolvePathFromModule( const strippedAssetPrefix = exportedPath.slice(ASSET_PREFIX.length); const resolved = path.resolve( - ABSOLUTE_ROOT, - OUTPUT_ROOT, + RUNTIME_ROOT, strippedAssetPrefix ); diff --git a/turbopack/crates/turbopack-ecmascript-runtime/js/src/shared-node/node-externals-utils.ts b/turbopack/crates/turbopack-ecmascript-runtime/js/src/shared-node/node-externals-utils.ts index dbf44a8fff0c3..23fee74910c10 100644 --- a/turbopack/crates/turbopack-ecmascript-runtime/js/src/shared-node/node-externals-utils.ts +++ b/turbopack/crates/turbopack-ecmascript-runtime/js/src/shared-node/node-externals-utils.ts @@ -1,16 +1,16 @@ /* eslint-disable @typescript-eslint/no-unused-vars */ declare var RUNTIME_PUBLIC_PATH: string; -declare var OUTPUT_ROOT: string; +declare var RELATIVE_ROOT_PATH: string; declare var ASSET_PREFIX: string; const path = require("path"); const relativePathToRuntimeRoot = path.relative(RUNTIME_PUBLIC_PATH, "."); // Compute the relative path to the `distDir`. -const relativePathToDistRoot = path.relative( - path.join(OUTPUT_ROOT, RUNTIME_PUBLIC_PATH), - "." +const relativePathToDistRoot = path.join( + relativePathToRuntimeRoot, + RELATIVE_ROOT_PATH ); const RUNTIME_ROOT = path.resolve(__filename, relativePathToRuntimeRoot); // Compute the absolute path to the root, by stripping distDir from the absolute path to this file. diff --git a/turbopack/crates/turbopack-ecmascript-runtime/src/browser_runtime.rs b/turbopack/crates/turbopack-ecmascript-runtime/src/browser_runtime.rs index 37d919aa94592..50f815a587394 100644 --- a/turbopack/crates/turbopack-ecmascript-runtime/src/browser_runtime.rs +++ b/turbopack/crates/turbopack-ecmascript-runtime/src/browser_runtime.rs @@ -19,7 +19,7 @@ pub async fn get_browser_runtime_code( environment: Vc, chunk_base_path: Vc>, runtime_type: Value, - output_root: Vc, + output_root_to_root_path: Vc, ) -> Result> { let asset_context = get_runtime_asset_context(environment).await?; @@ -73,7 +73,7 @@ pub async fn get_browser_runtime_code( }; let mut code: CodeBuilder = CodeBuilder::default(); - let output_root = output_root.await?.to_string(); + let relative_root_path = output_root_to_root_path.await?; let chunk_base_path = &*chunk_base_path.await?; let chunk_base_path = chunk_base_path.as_ref().map_or_else(|| "", |f| f.as_str()); @@ -86,12 +86,12 @@ pub async fn get_browser_runtime_code( }} const CHUNK_BASE_PATH = {}; + const RELATIVE_ROOT_PATH = {}; const RUNTIME_PUBLIC_PATH = {}; - const OUTPUT_ROOT = {}; "#, StringifyJs(chunk_base_path), + StringifyJs(relative_root_path.as_str()), StringifyJs(chunk_base_path), - StringifyJs(output_root.as_str()), )?; code.push_code(&*shared_runtime_utils_code.await?); diff --git a/turbopack/crates/turbopack-nodejs/src/chunking_context.rs b/turbopack/crates/turbopack-nodejs/src/chunking_context.rs index ef6b12ed684b2..da968b23f55d0 100644 --- a/turbopack/crates/turbopack-nodejs/src/chunking_context.rs +++ b/turbopack/crates/turbopack-nodejs/src/chunking_context.rs @@ -87,6 +87,8 @@ pub struct NodeJsChunkingContext { root_path: ResolvedVc, /// This path is used to compute the url to request chunks or assets from output_root: ResolvedVc, + /// The relative path from the output_root to the root_path. + output_root_to_root_path: ResolvedVc, /// This path is used to compute the url to request chunks or assets from client_root: ResolvedVc, /// Chunks are placed at this path @@ -116,6 +118,7 @@ impl NodeJsChunkingContext { pub fn builder( root_path: ResolvedVc, output_root: ResolvedVc, + output_root_to_root_path: ResolvedVc, client_root: ResolvedVc, chunk_root_path: ResolvedVc, asset_root_path: ResolvedVc, @@ -126,6 +129,7 @@ impl NodeJsChunkingContext { chunking_context: NodeJsChunkingContext { root_path, output_root, + output_root_to_root_path, client_root, chunk_root_path, asset_root_path, @@ -207,6 +211,11 @@ impl ChunkingContext for NodeJsChunkingContext { *self.output_root } + #[turbo_tasks::function] + fn output_root_to_root_path(&self) -> Vc { + *self.output_root_to_root_path + } + #[turbo_tasks::function] fn environment(&self) -> Vc { *self.environment diff --git a/turbopack/crates/turbopack-nodejs/src/ecmascript/node/entry/runtime.rs b/turbopack/crates/turbopack-nodejs/src/ecmascript/node/entry/runtime.rs index e9aaccc9d88db..bf2e8500f2f96 100644 --- a/turbopack/crates/turbopack-nodejs/src/ecmascript/node/entry/runtime.rs +++ b/turbopack/crates/turbopack-nodejs/src/ecmascript/node/entry/runtime.rs @@ -36,6 +36,7 @@ impl EcmascriptBuildNodeRuntimeChunk { async fn code(self: Vc) -> Result> { let this = self.await?; + let output_root_to_root_path = this.chunking_context.output_root_to_root_path().await?; let output_root = this.chunking_context.output_root().await?; let runtime_path = self.ident().path().await?; let runtime_public_path = if let Some(path) = output_root.get_path_to(&runtime_path) { @@ -49,7 +50,6 @@ impl EcmascriptBuildNodeRuntimeChunk { }; let mut code = CodeBuilder::default(); - let output_root = output_root.to_string(); let asset_prefix = this.chunking_context.asset_prefix().await?; let asset_prefix = asset_prefix.as_deref().unwrap_or("/"); @@ -57,11 +57,11 @@ impl EcmascriptBuildNodeRuntimeChunk { code, r#" const RUNTIME_PUBLIC_PATH = {}; - const OUTPUT_ROOT = {}; + const RELATIVE_ROOT_PATH = {}; const ASSET_PREFIX = {}; "#, StringifyJs(runtime_public_path), - StringifyJs(output_root.as_str()), + StringifyJs(output_root_to_root_path.as_str()), StringifyJs(asset_prefix), )?; diff --git a/turbopack/crates/turbopack-tests/tests/execution.rs b/turbopack/crates/turbopack-tests/tests/execution.rs index 62fadb20c816d..7f5558a2f7322 100644 --- a/turbopack/crates/turbopack-tests/tests/execution.rs +++ b/turbopack/crates/turbopack-tests/tests/execution.rs @@ -280,6 +280,12 @@ async fn run_test(prepared_test: Vc) -> Result> let chunk_root_path = path.join("output".into()).to_resolved().await?; let static_root_path = path.join("static".into()).to_resolved().await?; + let chunk_root_path_in_root_path_offset = project_path + .join("output".into()) + .await? + .get_relative_path_to(&*project_root.await?) + .context("Project path is in root path")?; + let env = Environment::new(Value::new(ExecutionEnvironment::NodeJsBuildTime( NodeJsEnvironment::default().resolved_cell(), ))) @@ -369,6 +375,7 @@ async fn run_test(prepared_test: Vc) -> Result> let chunking_context = NodeJsChunkingContext::builder( project_root, chunk_root_path, + ResolvedVc::cell(chunk_root_path_in_root_path_offset), static_root_path, chunk_root_path, static_root_path, diff --git a/turbopack/crates/turbopack-tests/tests/snapshot.rs b/turbopack/crates/turbopack-tests/tests/snapshot.rs index 48b5659d2d0a1..5848296216db2 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot.rs +++ b/turbopack/crates/turbopack-tests/tests/snapshot.rs @@ -203,22 +203,21 @@ async fn run_test(resource: RcStr) -> Result> { Err(_) => SnapshotOptions::default(), Ok(options_str) => parse_json_with_source_context(&options_str).unwrap(), }; - let root_fs = DiskFileSystem::new("workspace".into(), REPO_ROOT.clone(), vec![]); let project_fs = DiskFileSystem::new("project".into(), REPO_ROOT.clone(), vec![]); let project_root = project_fs.root().to_resolved().await?; let relative_path = test_path.strip_prefix(&*REPO_ROOT)?; let relative_path: RcStr = sys_to_unix(relative_path.to_str().unwrap()).into(); - let path = root_fs - .root() - .join(relative_path.clone()) - .to_resolved() - .await?; let project_path = project_root .join(relative_path.clone()) .to_resolved() .await?; + let project_path_to_project_root = project_path + .await? + .get_relative_path_to(&*project_root.await?) + .context("Project path is in root path")?; + let entry_asset = project_path.join(options.entry.into()); let env = Environment::new(Value::new(match options.environment { @@ -336,15 +335,16 @@ async fn run_test(resource: RcStr) -> Result> { .await? .map(|asset| EvaluatableAssets::one(asset.to_evaluatable(asset_context))); - let chunk_root_path = path.join("output".into()).to_resolved().await?; - let static_root_path = path.join("static".into()).to_resolved().await?; + let chunk_root_path = project_path.join("output".into()).to_resolved().await?; + let static_root_path = project_path.join("static".into()).to_resolved().await?; let chunking_context: Vc> = match options.runtime { Runtime::Browser => Vc::upcast( BrowserChunkingContext::builder( project_root, - path, - path, + project_path, + ResolvedVc::cell(project_path_to_project_root), + project_path, chunk_root_path, static_root_path, env, @@ -355,8 +355,9 @@ async fn run_test(resource: RcStr) -> Result> { Runtime::NodeJs => Vc::upcast( NodeJsChunkingContext::builder( project_root, - path, - path, + project_path, + ResolvedVc::cell(project_path_to_project_root), + project_path, chunk_root_path, static_root_path, env, @@ -435,7 +436,7 @@ async fn run_test(resource: RcStr) -> Result> { let mut seen = HashSet::new(); let mut queue: VecDeque<_> = chunks.await?.iter().copied().collect(); - let output_path = path.await?; + let output_path = project_path.await?; while let Some(asset) = queue.pop_front() { walk_asset(asset, &output_path, &mut seen, &mut queue) .await @@ -453,7 +454,7 @@ async fn run_test(resource: RcStr) -> Result> { .await .context("Actual assets doesn't match with expected assets")?; - Ok(*path) + Ok(*project_path) } async fn walk_asset( diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/output/4c35f_tests_snapshot_basic-tree-shake_dynamic-import_input_index_6199d2.js b/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/output/4c35f_tests_snapshot_basic-tree-shake_dynamic-import_input_index_d5474b.js similarity index 95% rename from turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/output/4c35f_tests_snapshot_basic-tree-shake_dynamic-import_input_index_6199d2.js rename to turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/output/4c35f_tests_snapshot_basic-tree-shake_dynamic-import_input_index_d5474b.js index 3321c58fc6d92..316433fe49de1 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/output/4c35f_tests_snapshot_basic-tree-shake_dynamic-import_input_index_6199d2.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/output/4c35f_tests_snapshot_basic-tree-shake_dynamic-import_input_index_d5474b.js @@ -1,5 +1,5 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push([ - "output/4c35f_tests_snapshot_basic-tree-shake_dynamic-import_input_index_6199d2.js", + "output/4c35f_tests_snapshot_basic-tree-shake_dynamic-import_input_index_d5474b.js", {}, {"otherChunks":["output/4c35f_tests_snapshot_basic-tree-shake_dynamic-import_input_index_92a5f4.js","output/b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_dynamic-import_input_lib_44a9b7.js"],"runtimeModuleIds":["[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/input/index.js [test] (ecmascript)"]} ]); diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/output/4c35f_tests_snapshot_basic-tree-shake_dynamic-import_input_index_6199d2.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/output/4c35f_tests_snapshot_basic-tree-shake_dynamic-import_input_index_d5474b.js.map similarity index 100% rename from turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/output/4c35f_tests_snapshot_basic-tree-shake_dynamic-import_input_index_6199d2.js.map rename to turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/output/4c35f_tests_snapshot_basic-tree-shake_dynamic-import_input_index_d5474b.js.map diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-named/output/b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_export-named_input_index_de97f7.js b/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-named/output/b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_export-named_input_index_6dd98b.js similarity index 91% rename from turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-named/output/b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_export-named_input_index_de97f7.js rename to turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-named/output/b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_export-named_input_index_6dd98b.js index 729e28618c7e4..10a71d9fc1675 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-named/output/b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_export-named_input_index_de97f7.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-named/output/b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_export-named_input_index_6dd98b.js @@ -1,5 +1,5 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push([ - "output/b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_export-named_input_index_de97f7.js", + "output/b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_export-named_input_index_6dd98b.js", {}, {"otherChunks":["output/b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_export-named_input_8a7274._.js"],"runtimeModuleIds":["[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-named/input/index.js [test] (ecmascript)"]} ]); diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-named/output/b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_export-named_input_index_de97f7.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-named/output/b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_export-named_input_index_6dd98b.js.map similarity index 100% rename from turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-named/output/b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_export-named_input_index_de97f7.js.map rename to turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-named/output/b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_export-named_input_index_6dd98b.js.map diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/output/4c35f_tests_snapshot_basic-tree-shake_export-namespace_input_index_205b08.js b/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/output/4c35f_tests_snapshot_basic-tree-shake_export-namespace_input_index_9f7e3d.js similarity index 93% rename from turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/output/4c35f_tests_snapshot_basic-tree-shake_export-namespace_input_index_205b08.js rename to turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/output/4c35f_tests_snapshot_basic-tree-shake_export-namespace_input_index_9f7e3d.js index c9644c25c11f8..db8bd4d59fbfb 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/output/4c35f_tests_snapshot_basic-tree-shake_export-namespace_input_index_205b08.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/output/4c35f_tests_snapshot_basic-tree-shake_export-namespace_input_index_9f7e3d.js @@ -1,5 +1,5 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push([ - "output/4c35f_tests_snapshot_basic-tree-shake_export-namespace_input_index_205b08.js", + "output/4c35f_tests_snapshot_basic-tree-shake_export-namespace_input_index_9f7e3d.js", {}, {"otherChunks":["output/b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_export-namespace_input_6d17e3._.js"],"runtimeModuleIds":["[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/index.js [test] (ecmascript)"]} ]); diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/output/4c35f_tests_snapshot_basic-tree-shake_export-namespace_input_index_205b08.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/output/4c35f_tests_snapshot_basic-tree-shake_export-namespace_input_index_9f7e3d.js.map similarity index 100% rename from turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/output/4c35f_tests_snapshot_basic-tree-shake_export-namespace_input_index_205b08.js.map rename to turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/output/4c35f_tests_snapshot_basic-tree-shake_export-namespace_input_index_9f7e3d.js.map diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named-all/output/4c35f_tests_snapshot_basic-tree-shake_import-named-all_input_index_52a24c.js b/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named-all/output/4c35f_tests_snapshot_basic-tree-shake_import-named-all_input_index_2bdccf.js similarity index 93% rename from turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named-all/output/4c35f_tests_snapshot_basic-tree-shake_import-named-all_input_index_52a24c.js rename to turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named-all/output/4c35f_tests_snapshot_basic-tree-shake_import-named-all_input_index_2bdccf.js index 7c5fa5b73d81b..e57a2a7fea504 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named-all/output/4c35f_tests_snapshot_basic-tree-shake_import-named-all_input_index_52a24c.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named-all/output/4c35f_tests_snapshot_basic-tree-shake_import-named-all_input_index_2bdccf.js @@ -1,5 +1,5 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push([ - "output/4c35f_tests_snapshot_basic-tree-shake_import-named-all_input_index_52a24c.js", + "output/4c35f_tests_snapshot_basic-tree-shake_import-named-all_input_index_2bdccf.js", {}, {"otherChunks":["output/b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_import-named-all_input_d35029._.js"],"runtimeModuleIds":["[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named-all/input/index.js [test] (ecmascript)"]} ]); diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named-all/output/4c35f_tests_snapshot_basic-tree-shake_import-named-all_input_index_52a24c.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named-all/output/4c35f_tests_snapshot_basic-tree-shake_import-named-all_input_index_2bdccf.js.map similarity index 100% rename from turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named-all/output/4c35f_tests_snapshot_basic-tree-shake_import-named-all_input_index_52a24c.js.map rename to turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named-all/output/4c35f_tests_snapshot_basic-tree-shake_import-named-all_input_index_2bdccf.js.map diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named/output/b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_import-named_input_index_07bfe7.js b/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named/output/b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_import-named_input_index_ee6f58.js similarity index 91% rename from turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named/output/b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_import-named_input_index_07bfe7.js rename to turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named/output/b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_import-named_input_index_ee6f58.js index 764cb173afc69..ec7c2f9c21d57 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named/output/b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_import-named_input_index_07bfe7.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named/output/b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_import-named_input_index_ee6f58.js @@ -1,5 +1,5 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push([ - "output/b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_import-named_input_index_07bfe7.js", + "output/b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_import-named_input_index_ee6f58.js", {}, {"otherChunks":["output/b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_import-named_input_b80bd2._.js"],"runtimeModuleIds":["[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named/input/index.js [test] (ecmascript)"]} ]); diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named/output/b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_import-named_input_index_07bfe7.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named/output/b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_import-named_input_index_ee6f58.js.map similarity index 100% rename from turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named/output/b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_import-named_input_index_07bfe7.js.map rename to turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named/output/b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_import-named_input_index_ee6f58.js.map diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/output/4c35f_tests_snapshot_basic-tree-shake_import-namespace_input_index_1c01ea.js b/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/output/4c35f_tests_snapshot_basic-tree-shake_import-namespace_input_index_0a0726.js similarity index 93% rename from turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/output/4c35f_tests_snapshot_basic-tree-shake_import-namespace_input_index_1c01ea.js rename to turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/output/4c35f_tests_snapshot_basic-tree-shake_import-namespace_input_index_0a0726.js index e4ad68035efd3..751453e18aee5 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/output/4c35f_tests_snapshot_basic-tree-shake_import-namespace_input_index_1c01ea.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/output/4c35f_tests_snapshot_basic-tree-shake_import-namespace_input_index_0a0726.js @@ -1,5 +1,5 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push([ - "output/4c35f_tests_snapshot_basic-tree-shake_import-namespace_input_index_1c01ea.js", + "output/4c35f_tests_snapshot_basic-tree-shake_import-namespace_input_index_0a0726.js", {}, {"otherChunks":["output/b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_import-namespace_input_91f6e5._.js"],"runtimeModuleIds":["[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/input/index.js [test] (ecmascript)"]} ]); diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/output/4c35f_tests_snapshot_basic-tree-shake_import-namespace_input_index_1c01ea.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/output/4c35f_tests_snapshot_basic-tree-shake_import-namespace_input_index_0a0726.js.map similarity index 100% rename from turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/output/4c35f_tests_snapshot_basic-tree-shake_import-namespace_input_index_1c01ea.js.map rename to turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/output/4c35f_tests_snapshot_basic-tree-shake_import-namespace_input_index_0a0726.js.map diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-side-effect/output/4c35f_tests_snapshot_basic-tree-shake_import-side-effect_input_index_f81304.js b/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-side-effect/output/4c35f_tests_snapshot_basic-tree-shake_import-side-effect_input_index_cbd40f.js similarity index 93% rename from turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-side-effect/output/4c35f_tests_snapshot_basic-tree-shake_import-side-effect_input_index_f81304.js rename to turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-side-effect/output/4c35f_tests_snapshot_basic-tree-shake_import-side-effect_input_index_cbd40f.js index e4477b506de7c..6edde1ffdac69 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-side-effect/output/4c35f_tests_snapshot_basic-tree-shake_import-side-effect_input_index_f81304.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-side-effect/output/4c35f_tests_snapshot_basic-tree-shake_import-side-effect_input_index_cbd40f.js @@ -1,5 +1,5 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push([ - "output/4c35f_tests_snapshot_basic-tree-shake_import-side-effect_input_index_f81304.js", + "output/4c35f_tests_snapshot_basic-tree-shake_import-side-effect_input_index_cbd40f.js", {}, {"otherChunks":["output/b1abf_turbopack-tests_tests_snapshot_basic-tree-shake_import-side-effect_input_65b482._.js"],"runtimeModuleIds":["[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-side-effect/input/index.js [test] (ecmascript)"]} ]); diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-side-effect/output/4c35f_tests_snapshot_basic-tree-shake_import-side-effect_input_index_f81304.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-side-effect/output/4c35f_tests_snapshot_basic-tree-shake_import-side-effect_input_index_cbd40f.js.map similarity index 100% rename from turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-side-effect/output/4c35f_tests_snapshot_basic-tree-shake_import-side-effect_input_index_f81304.js.map rename to turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-side-effect/output/4c35f_tests_snapshot_basic-tree-shake_import-side-effect_input_index_cbd40f.js.map diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/output/4c35f_tests_snapshot_basic-tree-shake_require-side-effect_input_index_227033.js b/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/output/4c35f_tests_snapshot_basic-tree-shake_require-side-effect_input_index_7e9356.js similarity index 93% rename from turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/output/4c35f_tests_snapshot_basic-tree-shake_require-side-effect_input_index_227033.js rename to turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/output/4c35f_tests_snapshot_basic-tree-shake_require-side-effect_input_index_7e9356.js index 83f9135333735..46e07f4272ce7 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/output/4c35f_tests_snapshot_basic-tree-shake_require-side-effect_input_index_227033.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/output/4c35f_tests_snapshot_basic-tree-shake_require-side-effect_input_index_7e9356.js @@ -1,5 +1,5 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push([ - "output/4c35f_tests_snapshot_basic-tree-shake_require-side-effect_input_index_227033.js", + "output/4c35f_tests_snapshot_basic-tree-shake_require-side-effect_input_index_7e9356.js", {}, {"otherChunks":["output/4c35f_tests_snapshot_basic-tree-shake_require-side-effect_input_b2a29e._.js"],"runtimeModuleIds":["[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/input/index.js [test] (ecmascript)"]} ]); diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/output/4c35f_tests_snapshot_basic-tree-shake_require-side-effect_input_index_227033.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/output/4c35f_tests_snapshot_basic-tree-shake_require-side-effect_input_index_7e9356.js.map similarity index 100% rename from turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/output/4c35f_tests_snapshot_basic-tree-shake_require-side-effect_input_index_227033.js.map rename to turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/require-side-effect/output/4c35f_tests_snapshot_basic-tree-shake_require-side-effect_input_index_7e9356.js.map diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/tree-shake-test-1/output/4c35f_tests_snapshot_basic-tree-shake_tree-shake-test-1_input_index_54a003.js b/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/tree-shake-test-1/output/4c35f_tests_snapshot_basic-tree-shake_tree-shake-test-1_input_index_b1536d.js similarity index 93% rename from turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/tree-shake-test-1/output/4c35f_tests_snapshot_basic-tree-shake_tree-shake-test-1_input_index_54a003.js rename to turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/tree-shake-test-1/output/4c35f_tests_snapshot_basic-tree-shake_tree-shake-test-1_input_index_b1536d.js index 9b23a4ac6f19e..1013b63932641 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/tree-shake-test-1/output/4c35f_tests_snapshot_basic-tree-shake_tree-shake-test-1_input_index_54a003.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/tree-shake-test-1/output/4c35f_tests_snapshot_basic-tree-shake_tree-shake-test-1_input_index_b1536d.js @@ -1,5 +1,5 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push([ - "output/4c35f_tests_snapshot_basic-tree-shake_tree-shake-test-1_input_index_54a003.js", + "output/4c35f_tests_snapshot_basic-tree-shake_tree-shake-test-1_input_index_b1536d.js", {}, {"otherChunks":["output/4c35f_tests_snapshot_basic-tree-shake_tree-shake-test-1_input_index_5fee49.js"],"runtimeModuleIds":["[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/tree-shake-test-1/input/index.js [test] (ecmascript)"]} ]); diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/tree-shake-test-1/output/4c35f_tests_snapshot_basic-tree-shake_tree-shake-test-1_input_index_54a003.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/tree-shake-test-1/output/4c35f_tests_snapshot_basic-tree-shake_tree-shake-test-1_input_index_b1536d.js.map similarity index 100% rename from turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/tree-shake-test-1/output/4c35f_tests_snapshot_basic-tree-shake_tree-shake-test-1_input_index_54a003.js.map rename to turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/tree-shake-test-1/output/4c35f_tests_snapshot_basic-tree-shake_tree-shake-test-1_input_index_b1536d.js.map diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk/output/4e721_crates_turbopack-tests_tests_snapshot_basic_async_chunk_input_index_8c33d5.js b/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk/output/4e721_crates_turbopack-tests_tests_snapshot_basic_async_chunk_input_index_3567a8.js similarity index 93% rename from turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk/output/4e721_crates_turbopack-tests_tests_snapshot_basic_async_chunk_input_index_8c33d5.js rename to turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk/output/4e721_crates_turbopack-tests_tests_snapshot_basic_async_chunk_input_index_3567a8.js index 9ce70beefdfb3..c0725d2c87b74 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk/output/4e721_crates_turbopack-tests_tests_snapshot_basic_async_chunk_input_index_8c33d5.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk/output/4e721_crates_turbopack-tests_tests_snapshot_basic_async_chunk_input_index_3567a8.js @@ -1,5 +1,5 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push([ - "output/4e721_crates_turbopack-tests_tests_snapshot_basic_async_chunk_input_index_8c33d5.js", + "output/4e721_crates_turbopack-tests_tests_snapshot_basic_async_chunk_input_index_3567a8.js", {}, {"otherChunks":["output/turbopack_crates_turbopack-tests_tests_snapshot_basic_async_chunk_input_463663._.js","output/4e721_crates_turbopack-tests_tests_snapshot_basic_async_chunk_input_import_46e42b.js"],"runtimeModuleIds":["[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk/input/index.js [test] (ecmascript)"]} ]); diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk/output/4e721_crates_turbopack-tests_tests_snapshot_basic_async_chunk_input_index_8c33d5.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk/output/4e721_crates_turbopack-tests_tests_snapshot_basic_async_chunk_input_index_3567a8.js.map similarity index 100% rename from turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk/output/4e721_crates_turbopack-tests_tests_snapshot_basic_async_chunk_input_index_8c33d5.js.map rename to turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk/output/4e721_crates_turbopack-tests_tests_snapshot_basic_async_chunk_input_index_3567a8.js.map diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk_build/output/[turbopack]_runtime.js b/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk_build/output/[turbopack]_runtime.js index 2383dfad7e57f..bd288d2f2ef19 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk_build/output/[turbopack]_runtime.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk_build/output/[turbopack]_runtime.js @@ -1,4 +1,4 @@ const RUNTIME_PUBLIC_PATH = "output/[turbopack]_runtime.js"; -const OUTPUT_ROOT = "turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk_build"; +const RELATIVE_ROOT_PATH = "../../../../../../.."; const ASSET_PREFIX = "/"; // Dummy runtime \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/basic/chunked/output/turbopack_crates_turbopack-tests_tests_snapshot_basic_chunked_input_index_e02b0b.js b/turbopack/crates/turbopack-tests/tests/snapshot/basic/chunked/output/turbopack_crates_turbopack-tests_tests_snapshot_basic_chunked_input_index_b40d3c.js similarity index 92% rename from turbopack/crates/turbopack-tests/tests/snapshot/basic/chunked/output/turbopack_crates_turbopack-tests_tests_snapshot_basic_chunked_input_index_e02b0b.js rename to turbopack/crates/turbopack-tests/tests/snapshot/basic/chunked/output/turbopack_crates_turbopack-tests_tests_snapshot_basic_chunked_input_index_b40d3c.js index 2a38101b90eaf..aa3ba304c83ae 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/basic/chunked/output/turbopack_crates_turbopack-tests_tests_snapshot_basic_chunked_input_index_e02b0b.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/basic/chunked/output/turbopack_crates_turbopack-tests_tests_snapshot_basic_chunked_input_index_b40d3c.js @@ -1,5 +1,5 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push([ - "output/turbopack_crates_turbopack-tests_tests_snapshot_basic_chunked_input_index_e02b0b.js", + "output/turbopack_crates_turbopack-tests_tests_snapshot_basic_chunked_input_index_b40d3c.js", {}, {"otherChunks":["output/turbopack_crates_turbopack-tests_tests_snapshot_basic_chunked_input_1efdac._.js"],"runtimeModuleIds":["[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/chunked/input/index.js [test] (ecmascript)"]} ]); diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/basic/chunked/output/turbopack_crates_turbopack-tests_tests_snapshot_basic_chunked_input_index_e02b0b.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/basic/chunked/output/turbopack_crates_turbopack-tests_tests_snapshot_basic_chunked_input_index_b40d3c.js.map similarity index 100% rename from turbopack/crates/turbopack-tests/tests/snapshot/basic/chunked/output/turbopack_crates_turbopack-tests_tests_snapshot_basic_chunked_input_index_e02b0b.js.map rename to turbopack/crates/turbopack-tests/tests/snapshot/basic/chunked/output/turbopack_crates_turbopack-tests_tests_snapshot_basic_chunked_input_index_b40d3c.js.map diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/basic/ecmascript_minify/output/[turbopack]_runtime.js b/turbopack/crates/turbopack-tests/tests/snapshot/basic/ecmascript_minify/output/[turbopack]_runtime.js index 109395ac8fe1d..bd288d2f2ef19 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/basic/ecmascript_minify/output/[turbopack]_runtime.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/basic/ecmascript_minify/output/[turbopack]_runtime.js @@ -1,4 +1,4 @@ const RUNTIME_PUBLIC_PATH = "output/[turbopack]_runtime.js"; -const OUTPUT_ROOT = "turbopack/crates/turbopack-tests/tests/snapshot/basic/ecmascript_minify"; +const RELATIVE_ROOT_PATH = "../../../../../../.."; const ASSET_PREFIX = "/"; // Dummy runtime \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/basic/shebang/output/turbopack_crates_turbopack-tests_tests_snapshot_basic_shebang_input_index_4cce73.js b/turbopack/crates/turbopack-tests/tests/snapshot/basic/shebang/output/turbopack_crates_turbopack-tests_tests_snapshot_basic_shebang_input_index_da95c9.js similarity index 92% rename from turbopack/crates/turbopack-tests/tests/snapshot/basic/shebang/output/turbopack_crates_turbopack-tests_tests_snapshot_basic_shebang_input_index_4cce73.js rename to turbopack/crates/turbopack-tests/tests/snapshot/basic/shebang/output/turbopack_crates_turbopack-tests_tests_snapshot_basic_shebang_input_index_da95c9.js index ff25eae7cc3fd..e749d65fbc0c2 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/basic/shebang/output/turbopack_crates_turbopack-tests_tests_snapshot_basic_shebang_input_index_4cce73.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/basic/shebang/output/turbopack_crates_turbopack-tests_tests_snapshot_basic_shebang_input_index_da95c9.js @@ -1,5 +1,5 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push([ - "output/turbopack_crates_turbopack-tests_tests_snapshot_basic_shebang_input_index_4cce73.js", + "output/turbopack_crates_turbopack-tests_tests_snapshot_basic_shebang_input_index_da95c9.js", {}, {"otherChunks":["output/turbopack_crates_turbopack-tests_tests_snapshot_basic_shebang_input_d5e8dc._.js"],"runtimeModuleIds":["[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/shebang/input/index.js [test] (ecmascript)"]} ]); diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/basic/shebang/output/turbopack_crates_turbopack-tests_tests_snapshot_basic_shebang_input_index_4cce73.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/basic/shebang/output/turbopack_crates_turbopack-tests_tests_snapshot_basic_shebang_input_index_da95c9.js.map similarity index 100% rename from turbopack/crates/turbopack-tests/tests/snapshot/basic/shebang/output/turbopack_crates_turbopack-tests_tests_snapshot_basic_shebang_input_index_4cce73.js.map rename to turbopack/crates/turbopack-tests/tests/snapshot/basic/shebang/output/turbopack_crates_turbopack-tests_tests_snapshot_basic_shebang_input_index_da95c9.js.map diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/basic/top-level-await/output/4e721_crates_turbopack-tests_tests_snapshot_basic_top-level-await_input_index_d10990.js b/turbopack/crates/turbopack-tests/tests/snapshot/basic/top-level-await/output/4e721_crates_turbopack-tests_tests_snapshot_basic_top-level-await_input_index_b01f59.js similarity index 92% rename from turbopack/crates/turbopack-tests/tests/snapshot/basic/top-level-await/output/4e721_crates_turbopack-tests_tests_snapshot_basic_top-level-await_input_index_d10990.js rename to turbopack/crates/turbopack-tests/tests/snapshot/basic/top-level-await/output/4e721_crates_turbopack-tests_tests_snapshot_basic_top-level-await_input_index_b01f59.js index 964766571c47c..e22b1e2091970 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/basic/top-level-await/output/4e721_crates_turbopack-tests_tests_snapshot_basic_top-level-await_input_index_d10990.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/basic/top-level-await/output/4e721_crates_turbopack-tests_tests_snapshot_basic_top-level-await_input_index_b01f59.js @@ -1,5 +1,5 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push([ - "output/4e721_crates_turbopack-tests_tests_snapshot_basic_top-level-await_input_index_d10990.js", + "output/4e721_crates_turbopack-tests_tests_snapshot_basic_top-level-await_input_index_b01f59.js", {}, {"otherChunks":["output/4e721_crates_turbopack-tests_tests_snapshot_basic_top-level-await_input_9acd43._.js","output/b1abf_turbopack-tests_tests_snapshot_basic_top-level-await_input_UserAPI_ba56f9.js"],"runtimeModuleIds":["[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/top-level-await/input/index.js [test] (ecmascript)"]} ]); diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/basic/top-level-await/output/4e721_crates_turbopack-tests_tests_snapshot_basic_top-level-await_input_index_d10990.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/basic/top-level-await/output/4e721_crates_turbopack-tests_tests_snapshot_basic_top-level-await_input_index_b01f59.js.map similarity index 100% rename from turbopack/crates/turbopack-tests/tests/snapshot/basic/top-level-await/output/4e721_crates_turbopack-tests_tests_snapshot_basic_top-level-await_input_index_d10990.js.map rename to turbopack/crates/turbopack-tests/tests/snapshot/basic/top-level-await/output/4e721_crates_turbopack-tests_tests_snapshot_basic_top-level-await_input_index_b01f59.js.map diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/comptime/define/output/4e721_crates_turbopack-tests_tests_snapshot_comptime_define_input_index_8b20d1.js b/turbopack/crates/turbopack-tests/tests/snapshot/comptime/define/output/4e721_crates_turbopack-tests_tests_snapshot_comptime_define_input_index_cfec05.js similarity index 92% rename from turbopack/crates/turbopack-tests/tests/snapshot/comptime/define/output/4e721_crates_turbopack-tests_tests_snapshot_comptime_define_input_index_8b20d1.js rename to turbopack/crates/turbopack-tests/tests/snapshot/comptime/define/output/4e721_crates_turbopack-tests_tests_snapshot_comptime_define_input_index_cfec05.js index 368ffa4ec49c8..96c3109a0ef1c 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/comptime/define/output/4e721_crates_turbopack-tests_tests_snapshot_comptime_define_input_index_8b20d1.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/comptime/define/output/4e721_crates_turbopack-tests_tests_snapshot_comptime_define_input_index_cfec05.js @@ -1,5 +1,5 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push([ - "output/4e721_crates_turbopack-tests_tests_snapshot_comptime_define_input_index_8b20d1.js", + "output/4e721_crates_turbopack-tests_tests_snapshot_comptime_define_input_index_cfec05.js", {}, {"otherChunks":["output/4e721_crates_turbopack-tests_tests_snapshot_comptime_define_input_index_4d74c0.js"],"runtimeModuleIds":["[project]/turbopack/crates/turbopack-tests/tests/snapshot/comptime/define/input/index.js [test] (ecmascript)"]} ]); diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/comptime/define/output/4e721_crates_turbopack-tests_tests_snapshot_comptime_define_input_index_8b20d1.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/comptime/define/output/4e721_crates_turbopack-tests_tests_snapshot_comptime_define_input_index_cfec05.js.map similarity index 100% rename from turbopack/crates/turbopack-tests/tests/snapshot/comptime/define/output/4e721_crates_turbopack-tests_tests_snapshot_comptime_define_input_index_8b20d1.js.map rename to turbopack/crates/turbopack-tests/tests/snapshot/comptime/define/output/4e721_crates_turbopack-tests_tests_snapshot_comptime_define_input_index_cfec05.js.map diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/comptime/early-return/output/4e721_crates_turbopack-tests_tests_snapshot_comptime_early-return_input_index_6b26d1.js b/turbopack/crates/turbopack-tests/tests/snapshot/comptime/early-return/output/4e721_crates_turbopack-tests_tests_snapshot_comptime_early-return_input_index_6a4b02.js similarity index 91% rename from turbopack/crates/turbopack-tests/tests/snapshot/comptime/early-return/output/4e721_crates_turbopack-tests_tests_snapshot_comptime_early-return_input_index_6b26d1.js rename to turbopack/crates/turbopack-tests/tests/snapshot/comptime/early-return/output/4e721_crates_turbopack-tests_tests_snapshot_comptime_early-return_input_index_6a4b02.js index 17ac76e660d6e..79bab03c7227b 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/comptime/early-return/output/4e721_crates_turbopack-tests_tests_snapshot_comptime_early-return_input_index_6b26d1.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/comptime/early-return/output/4e721_crates_turbopack-tests_tests_snapshot_comptime_early-return_input_index_6a4b02.js @@ -1,5 +1,5 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push([ - "output/4e721_crates_turbopack-tests_tests_snapshot_comptime_early-return_input_index_6b26d1.js", + "output/4e721_crates_turbopack-tests_tests_snapshot_comptime_early-return_input_index_6a4b02.js", {}, {"otherChunks":["output/4e721_crates_turbopack-tests_tests_snapshot_comptime_early-return_input_82bbae._.js"],"runtimeModuleIds":["[project]/turbopack/crates/turbopack-tests/tests/snapshot/comptime/early-return/input/index.js [test] (ecmascript)"]} ]); diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/comptime/early-return/output/4e721_crates_turbopack-tests_tests_snapshot_comptime_early-return_input_index_6b26d1.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/comptime/early-return/output/4e721_crates_turbopack-tests_tests_snapshot_comptime_early-return_input_index_6a4b02.js.map similarity index 100% rename from turbopack/crates/turbopack-tests/tests/snapshot/comptime/early-return/output/4e721_crates_turbopack-tests_tests_snapshot_comptime_early-return_input_index_6b26d1.js.map rename to turbopack/crates/turbopack-tests/tests/snapshot/comptime/early-return/output/4e721_crates_turbopack-tests_tests_snapshot_comptime_early-return_input_index_6a4b02.js.map diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/comptime/typeof/output/4e721_crates_turbopack-tests_tests_snapshot_comptime_typeof_input_index_4cb5df.js b/turbopack/crates/turbopack-tests/tests/snapshot/comptime/typeof/output/4e721_crates_turbopack-tests_tests_snapshot_comptime_typeof_input_index_4be808.js similarity index 92% rename from turbopack/crates/turbopack-tests/tests/snapshot/comptime/typeof/output/4e721_crates_turbopack-tests_tests_snapshot_comptime_typeof_input_index_4cb5df.js rename to turbopack/crates/turbopack-tests/tests/snapshot/comptime/typeof/output/4e721_crates_turbopack-tests_tests_snapshot_comptime_typeof_input_index_4be808.js index cffd2c9a2f0c9..ebe353622a6c1 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/comptime/typeof/output/4e721_crates_turbopack-tests_tests_snapshot_comptime_typeof_input_index_4cb5df.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/comptime/typeof/output/4e721_crates_turbopack-tests_tests_snapshot_comptime_typeof_input_index_4be808.js @@ -1,5 +1,5 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push([ - "output/4e721_crates_turbopack-tests_tests_snapshot_comptime_typeof_input_index_4cb5df.js", + "output/4e721_crates_turbopack-tests_tests_snapshot_comptime_typeof_input_index_4be808.js", {}, {"otherChunks":["output/turbopack_crates_turbopack-tests_tests_snapshot_comptime_typeof_input_80f572._.js"],"runtimeModuleIds":["[project]/turbopack/crates/turbopack-tests/tests/snapshot/comptime/typeof/input/index.js [test] (ecmascript)"]} ]); diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/comptime/typeof/output/4e721_crates_turbopack-tests_tests_snapshot_comptime_typeof_input_index_4cb5df.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/comptime/typeof/output/4e721_crates_turbopack-tests_tests_snapshot_comptime_typeof_input_index_4be808.js.map similarity index 100% rename from turbopack/crates/turbopack-tests/tests/snapshot/comptime/typeof/output/4e721_crates_turbopack-tests_tests_snapshot_comptime_typeof_input_index_4cb5df.js.map rename to turbopack/crates/turbopack-tests/tests/snapshot/comptime/typeof/output/4e721_crates_turbopack-tests_tests_snapshot_comptime_typeof_input_index_4be808.js.map diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/comptime/unreachable/output/4e721_crates_turbopack-tests_tests_snapshot_comptime_unreachable_input_index_141c43.js b/turbopack/crates/turbopack-tests/tests/snapshot/comptime/unreachable/output/4e721_crates_turbopack-tests_tests_snapshot_comptime_unreachable_input_index_1727e2.js similarity index 91% rename from turbopack/crates/turbopack-tests/tests/snapshot/comptime/unreachable/output/4e721_crates_turbopack-tests_tests_snapshot_comptime_unreachable_input_index_141c43.js rename to turbopack/crates/turbopack-tests/tests/snapshot/comptime/unreachable/output/4e721_crates_turbopack-tests_tests_snapshot_comptime_unreachable_input_index_1727e2.js index 48583e8e192cf..0a6aa4674ade5 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/comptime/unreachable/output/4e721_crates_turbopack-tests_tests_snapshot_comptime_unreachable_input_index_141c43.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/comptime/unreachable/output/4e721_crates_turbopack-tests_tests_snapshot_comptime_unreachable_input_index_1727e2.js @@ -1,5 +1,5 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push([ - "output/4e721_crates_turbopack-tests_tests_snapshot_comptime_unreachable_input_index_141c43.js", + "output/4e721_crates_turbopack-tests_tests_snapshot_comptime_unreachable_input_index_1727e2.js", {}, {"otherChunks":["output/4e721_crates_turbopack-tests_tests_snapshot_comptime_unreachable_input_index_9022a4.js"],"runtimeModuleIds":["[project]/turbopack/crates/turbopack-tests/tests/snapshot/comptime/unreachable/input/index.js [test] (ecmascript)"]} ]); diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/comptime/unreachable/output/4e721_crates_turbopack-tests_tests_snapshot_comptime_unreachable_input_index_141c43.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/comptime/unreachable/output/4e721_crates_turbopack-tests_tests_snapshot_comptime_unreachable_input_index_1727e2.js.map similarity index 100% rename from turbopack/crates/turbopack-tests/tests/snapshot/comptime/unreachable/output/4e721_crates_turbopack-tests_tests_snapshot_comptime_unreachable_input_index_141c43.js.map rename to turbopack/crates/turbopack-tests/tests/snapshot/comptime/unreachable/output/4e721_crates_turbopack-tests_tests_snapshot_comptime_unreachable_input_index_1727e2.js.map diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/css/absolute-uri-import/output/b1abf_turbopack-tests_tests_snapshot_css_absolute-uri-import_input_index_1db1fc.js b/turbopack/crates/turbopack-tests/tests/snapshot/css/absolute-uri-import/output/b1abf_turbopack-tests_tests_snapshot_css_absolute-uri-import_input_index_f6e9a4.js similarity index 97% rename from turbopack/crates/turbopack-tests/tests/snapshot/css/absolute-uri-import/output/b1abf_turbopack-tests_tests_snapshot_css_absolute-uri-import_input_index_1db1fc.js rename to turbopack/crates/turbopack-tests/tests/snapshot/css/absolute-uri-import/output/b1abf_turbopack-tests_tests_snapshot_css_absolute-uri-import_input_index_f6e9a4.js index 3849a78f9f4e7..b6659b47c1403 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/css/absolute-uri-import/output/b1abf_turbopack-tests_tests_snapshot_css_absolute-uri-import_input_index_1db1fc.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/css/absolute-uri-import/output/b1abf_turbopack-tests_tests_snapshot_css_absolute-uri-import_input_index_f6e9a4.js @@ -1,5 +1,5 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push([ - "output/b1abf_turbopack-tests_tests_snapshot_css_absolute-uri-import_input_index_1db1fc.js", + "output/b1abf_turbopack-tests_tests_snapshot_css_absolute-uri-import_input_index_f6e9a4.js", {}, {"otherChunks":[{"path":"output/4e721_crates_turbopack-tests_tests_snapshot_css_absolute-uri-import_input_6d2a92._.css","included":["[project]/turbopack/crates/turbopack-tests/tests/snapshot/css/absolute-uri-import/input/other.css [test] (css, )","[project]/turbopack/crates/turbopack-tests/tests/snapshot/css/absolute-uri-import/input/withduplicateurl.css [test] (css, )","[project]/turbopack/crates/turbopack-tests/tests/snapshot/css/absolute-uri-import/input/index.css [test] (css)"],"moduleChunks":["output/b1abf_turbopack-tests_tests_snapshot_css_absolute-uri-import_input_other_d96429.css","output/4c35f_tests_snapshot_css_absolute-uri-import_input_withduplicateurl_d96429.css","output/b1abf_turbopack-tests_tests_snapshot_css_absolute-uri-import_input_index_7d7e1c.css","output/b1abf_turbopack-tests_tests_snapshot_css_absolute-uri-import_input_other_d96429.css","output/4c35f_tests_snapshot_css_absolute-uri-import_input_withduplicateurl_d96429.css"]},"output/b1abf_turbopack-tests_tests_snapshot_css_absolute-uri-import_input_index_e42d0f.js"],"runtimeModuleIds":["[project]/turbopack/crates/turbopack-tests/tests/snapshot/css/absolute-uri-import/input/index.js [test] (ecmascript)"]} ]); diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/css/absolute-uri-import/output/b1abf_turbopack-tests_tests_snapshot_css_absolute-uri-import_input_index_1db1fc.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/css/absolute-uri-import/output/b1abf_turbopack-tests_tests_snapshot_css_absolute-uri-import_input_index_f6e9a4.js.map similarity index 100% rename from turbopack/crates/turbopack-tests/tests/snapshot/css/absolute-uri-import/output/b1abf_turbopack-tests_tests_snapshot_css_absolute-uri-import_input_index_1db1fc.js.map rename to turbopack/crates/turbopack-tests/tests/snapshot/css/absolute-uri-import/output/b1abf_turbopack-tests_tests_snapshot_css_absolute-uri-import_input_index_f6e9a4.js.map diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/css/chained-attributes/output/4e721_crates_turbopack-tests_tests_snapshot_css_chained-attributes_input_index_36d809.js b/turbopack/crates/turbopack-tests/tests/snapshot/css/chained-attributes/output/4e721_crates_turbopack-tests_tests_snapshot_css_chained-attributes_input_index_73b34b.js similarity index 98% rename from turbopack/crates/turbopack-tests/tests/snapshot/css/chained-attributes/output/4e721_crates_turbopack-tests_tests_snapshot_css_chained-attributes_input_index_36d809.js rename to turbopack/crates/turbopack-tests/tests/snapshot/css/chained-attributes/output/4e721_crates_turbopack-tests_tests_snapshot_css_chained-attributes_input_index_73b34b.js index 834af402ef260..bc0f8664aed66 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/css/chained-attributes/output/4e721_crates_turbopack-tests_tests_snapshot_css_chained-attributes_input_index_36d809.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/css/chained-attributes/output/4e721_crates_turbopack-tests_tests_snapshot_css_chained-attributes_input_index_73b34b.js @@ -1,5 +1,5 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push([ - "output/4e721_crates_turbopack-tests_tests_snapshot_css_chained-attributes_input_index_36d809.js", + "output/4e721_crates_turbopack-tests_tests_snapshot_css_chained-attributes_input_index_73b34b.js", {}, {"otherChunks":[{"path":"output/4e721_crates_turbopack-tests_tests_snapshot_css_chained-attributes_input_0c8b85._.css","included":["[project]/turbopack/crates/turbopack-tests/tests/snapshot/css/chained-attributes/input/c.css [test] (css, layer(layer) layer(foo) print and (orientation: landscape) supports(not(display: inline-grid)) supports(font-format(woff2)))","[project]/turbopack/crates/turbopack-tests/tests/snapshot/css/chained-attributes/input/c.css [test] (css, layer(layer) layer(bar) print and (orientation: portrait) supports(not(display: inline-grid)) supports(font-format(woff2)))","[project]/turbopack/crates/turbopack-tests/tests/snapshot/css/chained-attributes/input/b.css [test] (css, layer(layer) print supports(not(display: inline-grid)) supports(font-format(woff2)))","[project]/turbopack/crates/turbopack-tests/tests/snapshot/css/chained-attributes/input/a.css [test] (css, layer(layer) print supports(not(display: inline-grid)))","[project]/turbopack/crates/turbopack-tests/tests/snapshot/css/chained-attributes/input/style.css [test] (css)"],"moduleChunks":["output/4e721_crates_turbopack-tests_tests_snapshot_css_chained-attributes_input_c_823b12.css","output/4e721_crates_turbopack-tests_tests_snapshot_css_chained-attributes_input_c_163c6a.css","output/4e721_crates_turbopack-tests_tests_snapshot_css_chained-attributes_input_b_dc1da6.css","output/4e721_crates_turbopack-tests_tests_snapshot_css_chained-attributes_input_a_bf62fc.css","output/4e721_crates_turbopack-tests_tests_snapshot_css_chained-attributes_input_style_7d7e1c.css","output/4e721_crates_turbopack-tests_tests_snapshot_css_chained-attributes_input_c_823b12.css","output/4e721_crates_turbopack-tests_tests_snapshot_css_chained-attributes_input_c_163c6a.css","output/4e721_crates_turbopack-tests_tests_snapshot_css_chained-attributes_input_b_dc1da6.css","output/4e721_crates_turbopack-tests_tests_snapshot_css_chained-attributes_input_a_bf62fc.css"]},"output/4e721_crates_turbopack-tests_tests_snapshot_css_chained-attributes_input_index_0d5b04.js"],"runtimeModuleIds":["[project]/turbopack/crates/turbopack-tests/tests/snapshot/css/chained-attributes/input/index.js [test] (ecmascript)"]} ]); diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/css/chained-attributes/output/4e721_crates_turbopack-tests_tests_snapshot_css_chained-attributes_input_index_36d809.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/css/chained-attributes/output/4e721_crates_turbopack-tests_tests_snapshot_css_chained-attributes_input_index_73b34b.js.map similarity index 100% rename from turbopack/crates/turbopack-tests/tests/snapshot/css/chained-attributes/output/4e721_crates_turbopack-tests_tests_snapshot_css_chained-attributes_input_index_36d809.js.map rename to turbopack/crates/turbopack-tests/tests/snapshot/css/chained-attributes/output/4e721_crates_turbopack-tests_tests_snapshot_css_chained-attributes_input_index_73b34b.js.map diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/css/css-legacy-nesting/output/4e721_crates_turbopack-tests_tests_snapshot_css_css-legacy-nesting_input_index_b48c7f.js b/turbopack/crates/turbopack-tests/tests/snapshot/css/css-legacy-nesting/output/4e721_crates_turbopack-tests_tests_snapshot_css_css-legacy-nesting_input_index_b7a14b.js similarity index 95% rename from turbopack/crates/turbopack-tests/tests/snapshot/css/css-legacy-nesting/output/4e721_crates_turbopack-tests_tests_snapshot_css_css-legacy-nesting_input_index_b48c7f.js rename to turbopack/crates/turbopack-tests/tests/snapshot/css/css-legacy-nesting/output/4e721_crates_turbopack-tests_tests_snapshot_css_css-legacy-nesting_input_index_b7a14b.js index 2f12e5059bfa9..6a6d6480de774 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/css/css-legacy-nesting/output/4e721_crates_turbopack-tests_tests_snapshot_css_css-legacy-nesting_input_index_b48c7f.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/css/css-legacy-nesting/output/4e721_crates_turbopack-tests_tests_snapshot_css_css-legacy-nesting_input_index_b7a14b.js @@ -1,5 +1,5 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push([ - "output/4e721_crates_turbopack-tests_tests_snapshot_css_css-legacy-nesting_input_index_b48c7f.js", + "output/4e721_crates_turbopack-tests_tests_snapshot_css_css-legacy-nesting_input_index_b7a14b.js", {}, {"otherChunks":[{"path":"output/4e721_crates_turbopack-tests_tests_snapshot_css_css-legacy-nesting_input_style_da4646.css","included":["[project]/turbopack/crates/turbopack-tests/tests/snapshot/css/css-legacy-nesting/input/style.css [test] (css)"],"moduleChunks":["output/4e721_crates_turbopack-tests_tests_snapshot_css_css-legacy-nesting_input_style_7d7e1c.css"]},"output/4e721_crates_turbopack-tests_tests_snapshot_css_css-legacy-nesting_input_index_49d4ed.js"],"runtimeModuleIds":["[project]/turbopack/crates/turbopack-tests/tests/snapshot/css/css-legacy-nesting/input/index.js [test] (ecmascript)"]} ]); diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/css/css-legacy-nesting/output/4e721_crates_turbopack-tests_tests_snapshot_css_css-legacy-nesting_input_index_b48c7f.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/css/css-legacy-nesting/output/4e721_crates_turbopack-tests_tests_snapshot_css_css-legacy-nesting_input_index_b7a14b.js.map similarity index 100% rename from turbopack/crates/turbopack-tests/tests/snapshot/css/css-legacy-nesting/output/4e721_crates_turbopack-tests_tests_snapshot_css_css-legacy-nesting_input_index_b48c7f.js.map rename to turbopack/crates/turbopack-tests/tests/snapshot/css/css-legacy-nesting/output/4e721_crates_turbopack-tests_tests_snapshot_css_css-legacy-nesting_input_index_b7a14b.js.map diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/css/css-modules/output/4e721_crates_turbopack-tests_tests_snapshot_css_css-modules_input_index_9e42c2.js b/turbopack/crates/turbopack-tests/tests/snapshot/css/css-modules/output/4e721_crates_turbopack-tests_tests_snapshot_css_css-modules_input_index_ae0851.js similarity index 96% rename from turbopack/crates/turbopack-tests/tests/snapshot/css/css-modules/output/4e721_crates_turbopack-tests_tests_snapshot_css_css-modules_input_index_9e42c2.js rename to turbopack/crates/turbopack-tests/tests/snapshot/css/css-modules/output/4e721_crates_turbopack-tests_tests_snapshot_css_css-modules_input_index_ae0851.js index aa1ebbc80140d..254d75c2cc73a 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/css/css-modules/output/4e721_crates_turbopack-tests_tests_snapshot_css_css-modules_input_index_9e42c2.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/css/css-modules/output/4e721_crates_turbopack-tests_tests_snapshot_css_css-modules_input_index_ae0851.js @@ -1,5 +1,5 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push([ - "output/4e721_crates_turbopack-tests_tests_snapshot_css_css-modules_input_index_9e42c2.js", + "output/4e721_crates_turbopack-tests_tests_snapshot_css_css-modules_input_index_ae0851.js", {}, {"otherChunks":[{"path":"output/4e721_crates_turbopack-tests_tests_snapshot_css_css-modules_input_style_module_76a252.css","included":["[project]/turbopack/crates/turbopack-tests/tests/snapshot/css/css-modules/input/style.module.css [test] (css)"],"moduleChunks":["output/4e721_crates_turbopack-tests_tests_snapshot_css_css-modules_input_style_module_7d7e1c.css"]},"output/turbopack_crates_turbopack-tests_tests_snapshot_css_css-modules_input_8f2e7f._.js","output/b1abf_turbopack-tests_tests_snapshot_css_css-modules_input_style_module_css_adb3ea._.js"],"runtimeModuleIds":["[project]/turbopack/crates/turbopack-tests/tests/snapshot/css/css-modules/input/index.js [test] (ecmascript)"]} ]); diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/css/css-modules/output/4e721_crates_turbopack-tests_tests_snapshot_css_css-modules_input_index_9e42c2.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/css/css-modules/output/4e721_crates_turbopack-tests_tests_snapshot_css_css-modules_input_index_ae0851.js.map similarity index 100% rename from turbopack/crates/turbopack-tests/tests/snapshot/css/css-modules/output/4e721_crates_turbopack-tests_tests_snapshot_css_css-modules_input_index_9e42c2.js.map rename to turbopack/crates/turbopack-tests/tests/snapshot/css/css-modules/output/4e721_crates_turbopack-tests_tests_snapshot_css_css-modules_input_index_ae0851.js.map diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/css/css/output/turbopack_crates_turbopack-tests_tests_snapshot_css_css_input_index_07435d.js b/turbopack/crates/turbopack-tests/tests/snapshot/css/css/output/turbopack_crates_turbopack-tests_tests_snapshot_css_css_input_index_ec14ee.js similarity index 98% rename from turbopack/crates/turbopack-tests/tests/snapshot/css/css/output/turbopack_crates_turbopack-tests_tests_snapshot_css_css_input_index_07435d.js rename to turbopack/crates/turbopack-tests/tests/snapshot/css/css/output/turbopack_crates_turbopack-tests_tests_snapshot_css_css_input_index_ec14ee.js index 9cdc1cfba5fe4..137ccb3a9aa45 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/css/css/output/turbopack_crates_turbopack-tests_tests_snapshot_css_css_input_index_07435d.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/css/css/output/turbopack_crates_turbopack-tests_tests_snapshot_css_css_input_index_ec14ee.js @@ -1,5 +1,5 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push([ - "output/turbopack_crates_turbopack-tests_tests_snapshot_css_css_input_index_07435d.js", + "output/turbopack_crates_turbopack-tests_tests_snapshot_css_css_input_index_ec14ee.js", {}, {"otherChunks":[{"path":"output/turbopack_crates_turbopack-tests_tests_snapshot_css_css_input_8f45c3._.css","included":["[project]/turbopack/crates/turbopack-tests/tests/snapshot/css/css/input/node_modules/foo/style.css [test] (css)","[project]/turbopack/crates/turbopack-tests/tests/snapshot/css/css/input/imported.css [test] (css, )","[project]/turbopack/crates/turbopack-tests/tests/snapshot/css/css/input/imported.css [test] (css, layer(layer) print)","[project]/turbopack/crates/turbopack-tests/tests/snapshot/css/css/input/style.css [test] (css)","[project]/turbopack/crates/turbopack-tests/tests/snapshot/css/css/input/node_modules/foo/style.module.css [test] (css)","[project]/turbopack/crates/turbopack-tests/tests/snapshot/css/css/input/style.module.css [test] (css)"],"moduleChunks":["output/08d19_foo_style_7d7e1c.css","output/turbopack_crates_turbopack-tests_tests_snapshot_css_css_input_imported_d96429.css","output/turbopack_crates_turbopack-tests_tests_snapshot_css_css_input_imported_9f97d9.css","output/turbopack_crates_turbopack-tests_tests_snapshot_css_css_input_style_7d7e1c.css","output/08d19_foo_style_module_7d7e1c.css","output/4e721_crates_turbopack-tests_tests_snapshot_css_css_input_style_module_7d7e1c.css","output/turbopack_crates_turbopack-tests_tests_snapshot_css_css_input_imported_d96429.css","output/turbopack_crates_turbopack-tests_tests_snapshot_css_css_input_imported_d96429.css","output/turbopack_crates_turbopack-tests_tests_snapshot_css_css_input_imported_9f97d9.css"]},"output/turbopack_crates_turbopack-tests_tests_snapshot_css_css_input_6dc4af._.js","output/08d19_foo_style_css_1f8924._.js"],"runtimeModuleIds":["[project]/turbopack/crates/turbopack-tests/tests/snapshot/css/css/input/index.js [test] (ecmascript)"]} ]); diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/css/css/output/turbopack_crates_turbopack-tests_tests_snapshot_css_css_input_index_07435d.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/css/css/output/turbopack_crates_turbopack-tests_tests_snapshot_css_css_input_index_ec14ee.js.map similarity index 100% rename from turbopack/crates/turbopack-tests/tests/snapshot/css/css/output/turbopack_crates_turbopack-tests_tests_snapshot_css_css_input_index_07435d.js.map rename to turbopack/crates/turbopack-tests/tests/snapshot/css/css/output/turbopack_crates_turbopack-tests_tests_snapshot_css_css_input_index_ec14ee.js.map diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/css/relative-uri-import/output/b1abf_turbopack-tests_tests_snapshot_css_relative-uri-import_input_index_0508f5.js b/turbopack/crates/turbopack-tests/tests/snapshot/css/relative-uri-import/output/b1abf_turbopack-tests_tests_snapshot_css_relative-uri-import_input_index_9b2d89.js similarity index 97% rename from turbopack/crates/turbopack-tests/tests/snapshot/css/relative-uri-import/output/b1abf_turbopack-tests_tests_snapshot_css_relative-uri-import_input_index_0508f5.js rename to turbopack/crates/turbopack-tests/tests/snapshot/css/relative-uri-import/output/b1abf_turbopack-tests_tests_snapshot_css_relative-uri-import_input_index_9b2d89.js index 370426ebbfcb7..d54b9b4aa78ba 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/css/relative-uri-import/output/b1abf_turbopack-tests_tests_snapshot_css_relative-uri-import_input_index_0508f5.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/css/relative-uri-import/output/b1abf_turbopack-tests_tests_snapshot_css_relative-uri-import_input_index_9b2d89.js @@ -1,5 +1,5 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push([ - "output/b1abf_turbopack-tests_tests_snapshot_css_relative-uri-import_input_index_0508f5.js", + "output/b1abf_turbopack-tests_tests_snapshot_css_relative-uri-import_input_index_9b2d89.js", {}, {"otherChunks":[{"path":"output/4e721_crates_turbopack-tests_tests_snapshot_css_relative-uri-import_input_32f7a1._.css","included":["[project]/turbopack/crates/turbopack-tests/tests/snapshot/css/relative-uri-import/input/another.css [test] (css, )","[project]/turbopack/crates/turbopack-tests/tests/snapshot/css/relative-uri-import/input/other.css [test] (css, )","[project]/turbopack/crates/turbopack-tests/tests/snapshot/css/relative-uri-import/input/index.css [test] (css)"],"moduleChunks":["output/b1abf_turbopack-tests_tests_snapshot_css_relative-uri-import_input_another_d96429.css","output/b1abf_turbopack-tests_tests_snapshot_css_relative-uri-import_input_other_d96429.css","output/b1abf_turbopack-tests_tests_snapshot_css_relative-uri-import_input_index_7d7e1c.css","output/b1abf_turbopack-tests_tests_snapshot_css_relative-uri-import_input_another_d96429.css","output/b1abf_turbopack-tests_tests_snapshot_css_relative-uri-import_input_other_d96429.css"]},"output/b1abf_turbopack-tests_tests_snapshot_css_relative-uri-import_input_index_8ff755.js"],"runtimeModuleIds":["[project]/turbopack/crates/turbopack-tests/tests/snapshot/css/relative-uri-import/input/index.js [test] (ecmascript)"]} ]); diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/css/relative-uri-import/output/b1abf_turbopack-tests_tests_snapshot_css_relative-uri-import_input_index_0508f5.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/css/relative-uri-import/output/b1abf_turbopack-tests_tests_snapshot_css_relative-uri-import_input_index_9b2d89.js.map similarity index 100% rename from turbopack/crates/turbopack-tests/tests/snapshot/css/relative-uri-import/output/b1abf_turbopack-tests_tests_snapshot_css_relative-uri-import_input_index_0508f5.js.map rename to turbopack/crates/turbopack-tests/tests/snapshot/css/relative-uri-import/output/b1abf_turbopack-tests_tests_snapshot_css_relative-uri-import_input_index_9b2d89.js.map diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/css/scss/output/turbopack_crates_turbopack-tests_tests_snapshot_css_scss_input_index_67dcb7.js b/turbopack/crates/turbopack-tests/tests/snapshot/css/scss/output/turbopack_crates_turbopack-tests_tests_snapshot_css_scss_input_index_1c4159.js similarity index 93% rename from turbopack/crates/turbopack-tests/tests/snapshot/css/scss/output/turbopack_crates_turbopack-tests_tests_snapshot_css_scss_input_index_67dcb7.js rename to turbopack/crates/turbopack-tests/tests/snapshot/css/scss/output/turbopack_crates_turbopack-tests_tests_snapshot_css_scss_input_index_1c4159.js index 1da40acd7a57e..acb64168b3cb5 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/css/scss/output/turbopack_crates_turbopack-tests_tests_snapshot_css_scss_input_index_67dcb7.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/css/scss/output/turbopack_crates_turbopack-tests_tests_snapshot_css_scss_input_index_1c4159.js @@ -1,5 +1,5 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push([ - "output/turbopack_crates_turbopack-tests_tests_snapshot_css_scss_input_index_67dcb7.js", + "output/turbopack_crates_turbopack-tests_tests_snapshot_css_scss_input_index_1c4159.js", {}, {"otherChunks":["output/turbopack_crates_turbopack-tests_tests_snapshot_css_scss_input_index_37ce57.js"],"runtimeModuleIds":["[project]/turbopack/crates/turbopack-tests/tests/snapshot/css/scss/input/index.js [test] (ecmascript)"]} ]); diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/css/scss/output/turbopack_crates_turbopack-tests_tests_snapshot_css_scss_input_index_67dcb7.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/css/scss/output/turbopack_crates_turbopack-tests_tests_snapshot_css_scss_input_index_1c4159.js.map similarity index 100% rename from turbopack/crates/turbopack-tests/tests/snapshot/css/scss/output/turbopack_crates_turbopack-tests_tests_snapshot_css_scss_input_index_67dcb7.js.map rename to turbopack/crates/turbopack-tests/tests/snapshot/css/scss/output/turbopack_crates_turbopack-tests_tests_snapshot_css_scss_input_index_1c4159.js.map diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/css/url-in-supports-query/output/b1abf_turbopack-tests_tests_snapshot_css_url-in-supports-query_input_index_81ab1c.js b/turbopack/crates/turbopack-tests/tests/snapshot/css/url-in-supports-query/output/b1abf_turbopack-tests_tests_snapshot_css_url-in-supports-query_input_index_001f19.js similarity index 95% rename from turbopack/crates/turbopack-tests/tests/snapshot/css/url-in-supports-query/output/b1abf_turbopack-tests_tests_snapshot_css_url-in-supports-query_input_index_81ab1c.js rename to turbopack/crates/turbopack-tests/tests/snapshot/css/url-in-supports-query/output/b1abf_turbopack-tests_tests_snapshot_css_url-in-supports-query_input_index_001f19.js index 41e2a91d68d0e..fe474d2c02eb7 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/css/url-in-supports-query/output/b1abf_turbopack-tests_tests_snapshot_css_url-in-supports-query_input_index_81ab1c.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/css/url-in-supports-query/output/b1abf_turbopack-tests_tests_snapshot_css_url-in-supports-query_input_index_001f19.js @@ -1,5 +1,5 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push([ - "output/b1abf_turbopack-tests_tests_snapshot_css_url-in-supports-query_input_index_81ab1c.js", + "output/b1abf_turbopack-tests_tests_snapshot_css_url-in-supports-query_input_index_001f19.js", {}, {"otherChunks":[{"path":"output/b1abf_turbopack-tests_tests_snapshot_css_url-in-supports-query_input_style_ce5c14.css","included":["[project]/turbopack/crates/turbopack-tests/tests/snapshot/css/url-in-supports-query/input/style.css [test] (css)"],"moduleChunks":["output/b1abf_turbopack-tests_tests_snapshot_css_url-in-supports-query_input_style_7d7e1c.css"]},"output/b1abf_turbopack-tests_tests_snapshot_css_url-in-supports-query_input_index_160b9e.js"],"runtimeModuleIds":["[project]/turbopack/crates/turbopack-tests/tests/snapshot/css/url-in-supports-query/input/index.js [test] (ecmascript)"]} ]); diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/css/url-in-supports-query/output/b1abf_turbopack-tests_tests_snapshot_css_url-in-supports-query_input_index_81ab1c.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/css/url-in-supports-query/output/b1abf_turbopack-tests_tests_snapshot_css_url-in-supports-query_input_index_001f19.js.map similarity index 100% rename from turbopack/crates/turbopack-tests/tests/snapshot/css/url-in-supports-query/output/b1abf_turbopack-tests_tests_snapshot_css_url-in-supports-query_input_index_81ab1c.js.map rename to turbopack/crates/turbopack-tests/tests/snapshot/css/url-in-supports-query/output/b1abf_turbopack-tests_tests_snapshot_css_url-in-supports-query_input_index_001f19.js.map diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/cssmodules/composes/output/4e721_crates_turbopack-tests_tests_snapshot_cssmodules_composes_input_index_8c962e.js b/turbopack/crates/turbopack-tests/tests/snapshot/cssmodules/composes/output/4e721_crates_turbopack-tests_tests_snapshot_cssmodules_composes_input_index_a69792.js similarity index 95% rename from turbopack/crates/turbopack-tests/tests/snapshot/cssmodules/composes/output/4e721_crates_turbopack-tests_tests_snapshot_cssmodules_composes_input_index_8c962e.js rename to turbopack/crates/turbopack-tests/tests/snapshot/cssmodules/composes/output/4e721_crates_turbopack-tests_tests_snapshot_cssmodules_composes_input_index_a69792.js index a0cb767428eb0..dad5cd1a6d2a5 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/cssmodules/composes/output/4e721_crates_turbopack-tests_tests_snapshot_cssmodules_composes_input_index_8c962e.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/cssmodules/composes/output/4e721_crates_turbopack-tests_tests_snapshot_cssmodules_composes_input_index_a69792.js @@ -1,5 +1,5 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push([ - "output/4e721_crates_turbopack-tests_tests_snapshot_cssmodules_composes_input_index_8c962e.js", + "output/4e721_crates_turbopack-tests_tests_snapshot_cssmodules_composes_input_index_a69792.js", {}, {"otherChunks":[{"path":"output/b1abf_turbopack-tests_tests_snapshot_cssmodules_composes_input_index_module_226602.css","included":["[project]/turbopack/crates/turbopack-tests/tests/snapshot/cssmodules/composes/input/index.module.css [test] (css)"],"moduleChunks":["output/b1abf_turbopack-tests_tests_snapshot_cssmodules_composes_input_index_module_7d7e1c.css"]},"output/turbopack_crates_turbopack-tests_tests_snapshot_cssmodules_composes_input_8bd350._.js"],"runtimeModuleIds":["[project]/turbopack/crates/turbopack-tests/tests/snapshot/cssmodules/composes/input/index.js [test] (ecmascript)"]} ]); diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/cssmodules/composes/output/4e721_crates_turbopack-tests_tests_snapshot_cssmodules_composes_input_index_8c962e.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/cssmodules/composes/output/4e721_crates_turbopack-tests_tests_snapshot_cssmodules_composes_input_index_a69792.js.map similarity index 100% rename from turbopack/crates/turbopack-tests/tests/snapshot/cssmodules/composes/output/4e721_crates_turbopack-tests_tests_snapshot_cssmodules_composes_input_index_8c962e.js.map rename to turbopack/crates/turbopack-tests/tests/snapshot/cssmodules/composes/output/4e721_crates_turbopack-tests_tests_snapshot_cssmodules_composes_input_index_a69792.js.map diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/cssmodules/relative-uri-import/output/4c35f_tests_snapshot_cssmodules_relative-uri-import_input_index_a78f7c.js b/turbopack/crates/turbopack-tests/tests/snapshot/cssmodules/relative-uri-import/output/4c35f_tests_snapshot_cssmodules_relative-uri-import_input_index_1be590.js similarity index 97% rename from turbopack/crates/turbopack-tests/tests/snapshot/cssmodules/relative-uri-import/output/4c35f_tests_snapshot_cssmodules_relative-uri-import_input_index_a78f7c.js rename to turbopack/crates/turbopack-tests/tests/snapshot/cssmodules/relative-uri-import/output/4c35f_tests_snapshot_cssmodules_relative-uri-import_input_index_1be590.js index 2cfab6894e985..30b782fd1d7af 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/cssmodules/relative-uri-import/output/4c35f_tests_snapshot_cssmodules_relative-uri-import_input_index_a78f7c.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/cssmodules/relative-uri-import/output/4c35f_tests_snapshot_cssmodules_relative-uri-import_input_index_1be590.js @@ -1,5 +1,5 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push([ - "output/4c35f_tests_snapshot_cssmodules_relative-uri-import_input_index_a78f7c.js", + "output/4c35f_tests_snapshot_cssmodules_relative-uri-import_input_index_1be590.js", {}, {"otherChunks":[{"path":"output/b1abf_turbopack-tests_tests_snapshot_cssmodules_relative-uri-import_input_5a7b6f._.css","included":["[project]/turbopack/crates/turbopack-tests/tests/snapshot/cssmodules/relative-uri-import/input/other.module.css [test] (css)","[project]/turbopack/crates/turbopack-tests/tests/snapshot/cssmodules/relative-uri-import/input/index.module.css [test] (css)"],"moduleChunks":["output/4c35f_tests_snapshot_cssmodules_relative-uri-import_input_other_module_7d7e1c.css","output/4c35f_tests_snapshot_cssmodules_relative-uri-import_input_index_module_7d7e1c.css"]},"output/b1abf_turbopack-tests_tests_snapshot_cssmodules_relative-uri-import_input_65c884._.js"],"runtimeModuleIds":["[project]/turbopack/crates/turbopack-tests/tests/snapshot/cssmodules/relative-uri-import/input/index.js [test] (ecmascript)"]} ]); diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/cssmodules/relative-uri-import/output/4c35f_tests_snapshot_cssmodules_relative-uri-import_input_index_a78f7c.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/cssmodules/relative-uri-import/output/4c35f_tests_snapshot_cssmodules_relative-uri-import_input_index_1be590.js.map similarity index 100% rename from turbopack/crates/turbopack-tests/tests/snapshot/cssmodules/relative-uri-import/output/4c35f_tests_snapshot_cssmodules_relative-uri-import_input_index_a78f7c.js.map rename to turbopack/crates/turbopack-tests/tests/snapshot/cssmodules/relative-uri-import/output/4c35f_tests_snapshot_cssmodules_relative-uri-import_input_index_1be590.js.map diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/dynamic-request/very-dynamic/output/b1abf_turbopack-tests_tests_snapshot_dynamic-request_very-dynamic_input_index_254fe8.js b/turbopack/crates/turbopack-tests/tests/snapshot/dynamic-request/very-dynamic/output/b1abf_turbopack-tests_tests_snapshot_dynamic-request_very-dynamic_input_index_db87b1.js similarity index 91% rename from turbopack/crates/turbopack-tests/tests/snapshot/dynamic-request/very-dynamic/output/b1abf_turbopack-tests_tests_snapshot_dynamic-request_very-dynamic_input_index_254fe8.js rename to turbopack/crates/turbopack-tests/tests/snapshot/dynamic-request/very-dynamic/output/b1abf_turbopack-tests_tests_snapshot_dynamic-request_very-dynamic_input_index_db87b1.js index 471bb465a387d..b77c6da402cf4 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/dynamic-request/very-dynamic/output/b1abf_turbopack-tests_tests_snapshot_dynamic-request_very-dynamic_input_index_254fe8.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/dynamic-request/very-dynamic/output/b1abf_turbopack-tests_tests_snapshot_dynamic-request_very-dynamic_input_index_db87b1.js @@ -1,5 +1,5 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push([ - "output/b1abf_turbopack-tests_tests_snapshot_dynamic-request_very-dynamic_input_index_254fe8.js", + "output/b1abf_turbopack-tests_tests_snapshot_dynamic-request_very-dynamic_input_index_db87b1.js", {}, {"otherChunks":["output/b1abf_turbopack-tests_tests_snapshot_dynamic-request_very-dynamic_input_index_c4e3aa.js"],"runtimeModuleIds":["[project]/turbopack/crates/turbopack-tests/tests/snapshot/dynamic-request/very-dynamic/input/index.js [test] (ecmascript)"]} ]); diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/dynamic-request/very-dynamic/output/b1abf_turbopack-tests_tests_snapshot_dynamic-request_very-dynamic_input_index_254fe8.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/dynamic-request/very-dynamic/output/b1abf_turbopack-tests_tests_snapshot_dynamic-request_very-dynamic_input_index_db87b1.js.map similarity index 100% rename from turbopack/crates/turbopack-tests/tests/snapshot/dynamic-request/very-dynamic/output/b1abf_turbopack-tests_tests_snapshot_dynamic-request_very-dynamic_input_index_254fe8.js.map rename to turbopack/crates/turbopack-tests/tests/snapshot/dynamic-request/very-dynamic/output/b1abf_turbopack-tests_tests_snapshot_dynamic-request_very-dynamic_input_index_db87b1.js.map diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/emotion/emotion/output/4e721_crates_turbopack-tests_tests_snapshot_emotion_emotion_input_index_b176e3.js b/turbopack/crates/turbopack-tests/tests/snapshot/emotion/emotion/output/4e721_crates_turbopack-tests_tests_snapshot_emotion_emotion_input_index_bc96cd.js similarity index 92% rename from turbopack/crates/turbopack-tests/tests/snapshot/emotion/emotion/output/4e721_crates_turbopack-tests_tests_snapshot_emotion_emotion_input_index_b176e3.js rename to turbopack/crates/turbopack-tests/tests/snapshot/emotion/emotion/output/4e721_crates_turbopack-tests_tests_snapshot_emotion_emotion_input_index_bc96cd.js index 2e60a49899571..a5bd84a9da8bc 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/emotion/emotion/output/4e721_crates_turbopack-tests_tests_snapshot_emotion_emotion_input_index_b176e3.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/emotion/emotion/output/4e721_crates_turbopack-tests_tests_snapshot_emotion_emotion_input_index_bc96cd.js @@ -1,5 +1,5 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push([ - "output/4e721_crates_turbopack-tests_tests_snapshot_emotion_emotion_input_index_b176e3.js", + "output/4e721_crates_turbopack-tests_tests_snapshot_emotion_emotion_input_index_bc96cd.js", {}, {"otherChunks":["output/turbopack_crates_turbopack-tests_tests_snapshot_6fdc60._.js"],"runtimeModuleIds":["[project]/turbopack/crates/turbopack-tests/tests/snapshot/emotion/emotion/input/index.js [test] (ecmascript)"]} ]); diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/emotion/emotion/output/4e721_crates_turbopack-tests_tests_snapshot_emotion_emotion_input_index_b176e3.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/emotion/emotion/output/4e721_crates_turbopack-tests_tests_snapshot_emotion_emotion_input_index_bc96cd.js.map similarity index 100% rename from turbopack/crates/turbopack-tests/tests/snapshot/emotion/emotion/output/4e721_crates_turbopack-tests_tests_snapshot_emotion_emotion_input_index_b176e3.js.map rename to turbopack/crates/turbopack-tests/tests/snapshot/emotion/emotion/output/4e721_crates_turbopack-tests_tests_snapshot_emotion_emotion_input_index_bc96cd.js.map diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/env/env/output/turbopack_crates_turbopack-tests_tests_snapshot_env_env_input_index_b481cd.js b/turbopack/crates/turbopack-tests/tests/snapshot/env/env/output/turbopack_crates_turbopack-tests_tests_snapshot_env_env_input_index_95fd5e.js similarity index 94% rename from turbopack/crates/turbopack-tests/tests/snapshot/env/env/output/turbopack_crates_turbopack-tests_tests_snapshot_env_env_input_index_b481cd.js rename to turbopack/crates/turbopack-tests/tests/snapshot/env/env/output/turbopack_crates_turbopack-tests_tests_snapshot_env_env_input_index_95fd5e.js index 87c1cb783b42d..44e6414a3b6fb 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/env/env/output/turbopack_crates_turbopack-tests_tests_snapshot_env_env_input_index_b481cd.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/env/env/output/turbopack_crates_turbopack-tests_tests_snapshot_env_env_input_index_95fd5e.js @@ -1,5 +1,5 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push([ - "output/turbopack_crates_turbopack-tests_tests_snapshot_env_env_input_index_b481cd.js", + "output/turbopack_crates_turbopack-tests_tests_snapshot_env_env_input_index_95fd5e.js", {}, {"otherChunks":["output/turbopack_crates_turbopack-tests_tests_snapshot_env_env_input_a18b44._.js"],"runtimeModuleIds":["[project]/turbopack/crates/turbopack-tests/tests/snapshot/env/env/input/.env/.env.js [test] (ecmascript)","[project]/turbopack/crates/turbopack-tests/tests/snapshot/env/env/input/index.js [test] (ecmascript)"]} ]); diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/env/env/output/turbopack_crates_turbopack-tests_tests_snapshot_env_env_input_index_b481cd.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/env/env/output/turbopack_crates_turbopack-tests_tests_snapshot_env_env_input_index_95fd5e.js.map similarity index 100% rename from turbopack/crates/turbopack-tests/tests/snapshot/env/env/output/turbopack_crates_turbopack-tests_tests_snapshot_env_env_input_index_b481cd.js.map rename to turbopack/crates/turbopack-tests/tests/snapshot/env/env/output/turbopack_crates_turbopack-tests_tests_snapshot_env_env_input_index_95fd5e.js.map diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/evaluated_entrry/runtime_entry/output/4c35f_tests_snapshot_evaluated_entrry_runtime_entry_input_index_51f6b2.js b/turbopack/crates/turbopack-tests/tests/snapshot/evaluated_entrry/runtime_entry/output/4c35f_tests_snapshot_evaluated_entrry_runtime_entry_input_index_e21b39.js similarity index 94% rename from turbopack/crates/turbopack-tests/tests/snapshot/evaluated_entrry/runtime_entry/output/4c35f_tests_snapshot_evaluated_entrry_runtime_entry_input_index_51f6b2.js rename to turbopack/crates/turbopack-tests/tests/snapshot/evaluated_entrry/runtime_entry/output/4c35f_tests_snapshot_evaluated_entrry_runtime_entry_input_index_e21b39.js index 37481cfb2d36c..953e2d98cd544 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/evaluated_entrry/runtime_entry/output/4c35f_tests_snapshot_evaluated_entrry_runtime_entry_input_index_51f6b2.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/evaluated_entrry/runtime_entry/output/4c35f_tests_snapshot_evaluated_entrry_runtime_entry_input_index_e21b39.js @@ -1,5 +1,5 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push([ - "output/4c35f_tests_snapshot_evaluated_entrry_runtime_entry_input_index_51f6b2.js", + "output/4c35f_tests_snapshot_evaluated_entrry_runtime_entry_input_index_e21b39.js", {}, {"otherChunks":["output/4c35f_tests_snapshot_evaluated_entrry_runtime_entry_input_index_232496.js"],"runtimeModuleIds":["[project]/turbopack/crates/turbopack-tests/tests/snapshot/evaluated_entrry/runtime_entry/input/index.js [test] (ecmascript)"]} ]); diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/evaluated_entrry/runtime_entry/output/4c35f_tests_snapshot_evaluated_entrry_runtime_entry_input_index_51f6b2.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/evaluated_entrry/runtime_entry/output/4c35f_tests_snapshot_evaluated_entrry_runtime_entry_input_index_e21b39.js.map similarity index 100% rename from turbopack/crates/turbopack-tests/tests/snapshot/evaluated_entrry/runtime_entry/output/4c35f_tests_snapshot_evaluated_entrry_runtime_entry_input_index_51f6b2.js.map rename to turbopack/crates/turbopack-tests/tests/snapshot/evaluated_entrry/runtime_entry/output/4c35f_tests_snapshot_evaluated_entrry_runtime_entry_input_index_e21b39.js.map diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/example/example/output/4e721_crates_turbopack-tests_tests_snapshot_example_example_input_index_9686eb.js b/turbopack/crates/turbopack-tests/tests/snapshot/example/example/output/4e721_crates_turbopack-tests_tests_snapshot_example_example_input_index_5be20a.js similarity index 92% rename from turbopack/crates/turbopack-tests/tests/snapshot/example/example/output/4e721_crates_turbopack-tests_tests_snapshot_example_example_input_index_9686eb.js rename to turbopack/crates/turbopack-tests/tests/snapshot/example/example/output/4e721_crates_turbopack-tests_tests_snapshot_example_example_input_index_5be20a.js index 2a28e6a28c224..cfc0c9c8a790d 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/example/example/output/4e721_crates_turbopack-tests_tests_snapshot_example_example_input_index_9686eb.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/example/example/output/4e721_crates_turbopack-tests_tests_snapshot_example_example_input_index_5be20a.js @@ -1,5 +1,5 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push([ - "output/4e721_crates_turbopack-tests_tests_snapshot_example_example_input_index_9686eb.js", + "output/4e721_crates_turbopack-tests_tests_snapshot_example_example_input_index_5be20a.js", {}, {"otherChunks":["output/4e721_crates_turbopack-tests_tests_snapshot_example_example_input_index_74ebec.js"],"runtimeModuleIds":["[project]/turbopack/crates/turbopack-tests/tests/snapshot/example/example/input/index.js [test] (ecmascript)"]} ]); diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/example/example/output/4e721_crates_turbopack-tests_tests_snapshot_example_example_input_index_9686eb.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/example/example/output/4e721_crates_turbopack-tests_tests_snapshot_example_example_input_index_5be20a.js.map similarity index 100% rename from turbopack/crates/turbopack-tests/tests/snapshot/example/example/output/4e721_crates_turbopack-tests_tests_snapshot_example_example_input_index_9686eb.js.map rename to turbopack/crates/turbopack-tests/tests/snapshot/example/example/output/4e721_crates_turbopack-tests_tests_snapshot_example_example_input_index_5be20a.js.map diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/export-alls/cjs-2/output/4e721_crates_turbopack-tests_tests_snapshot_export-alls_cjs-2_input_index_5c4719.js b/turbopack/crates/turbopack-tests/tests/snapshot/export-alls/cjs-2/output/4e721_crates_turbopack-tests_tests_snapshot_export-alls_cjs-2_input_index_2eb895.js similarity index 92% rename from turbopack/crates/turbopack-tests/tests/snapshot/export-alls/cjs-2/output/4e721_crates_turbopack-tests_tests_snapshot_export-alls_cjs-2_input_index_5c4719.js rename to turbopack/crates/turbopack-tests/tests/snapshot/export-alls/cjs-2/output/4e721_crates_turbopack-tests_tests_snapshot_export-alls_cjs-2_input_index_2eb895.js index 10e4f3c5d17b9..fc67b7c3cd0e7 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/export-alls/cjs-2/output/4e721_crates_turbopack-tests_tests_snapshot_export-alls_cjs-2_input_index_5c4719.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/export-alls/cjs-2/output/4e721_crates_turbopack-tests_tests_snapshot_export-alls_cjs-2_input_index_2eb895.js @@ -1,5 +1,5 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push([ - "output/4e721_crates_turbopack-tests_tests_snapshot_export-alls_cjs-2_input_index_5c4719.js", + "output/4e721_crates_turbopack-tests_tests_snapshot_export-alls_cjs-2_input_index_2eb895.js", {}, {"otherChunks":["output/turbopack_crates_turbopack-tests_tests_snapshot_export-alls_cjs-2_input_02fc46._.js"],"runtimeModuleIds":["[project]/turbopack/crates/turbopack-tests/tests/snapshot/export-alls/cjs-2/input/index.js [test] (ecmascript)"]} ]); diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/export-alls/cjs-2/output/4e721_crates_turbopack-tests_tests_snapshot_export-alls_cjs-2_input_index_5c4719.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/export-alls/cjs-2/output/4e721_crates_turbopack-tests_tests_snapshot_export-alls_cjs-2_input_index_2eb895.js.map similarity index 100% rename from turbopack/crates/turbopack-tests/tests/snapshot/export-alls/cjs-2/output/4e721_crates_turbopack-tests_tests_snapshot_export-alls_cjs-2_input_index_5c4719.js.map rename to turbopack/crates/turbopack-tests/tests/snapshot/export-alls/cjs-2/output/4e721_crates_turbopack-tests_tests_snapshot_export-alls_cjs-2_input_index_2eb895.js.map diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/export-alls/cjs-script/output/4e721_crates_turbopack-tests_tests_snapshot_export-alls_cjs-script_input_index_cf9dd6.js b/turbopack/crates/turbopack-tests/tests/snapshot/export-alls/cjs-script/output/4e721_crates_turbopack-tests_tests_snapshot_export-alls_cjs-script_input_index_72f575.js similarity index 91% rename from turbopack/crates/turbopack-tests/tests/snapshot/export-alls/cjs-script/output/4e721_crates_turbopack-tests_tests_snapshot_export-alls_cjs-script_input_index_cf9dd6.js rename to turbopack/crates/turbopack-tests/tests/snapshot/export-alls/cjs-script/output/4e721_crates_turbopack-tests_tests_snapshot_export-alls_cjs-script_input_index_72f575.js index 0bbaddd7b0c5d..4285373021eac 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/export-alls/cjs-script/output/4e721_crates_turbopack-tests_tests_snapshot_export-alls_cjs-script_input_index_cf9dd6.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/export-alls/cjs-script/output/4e721_crates_turbopack-tests_tests_snapshot_export-alls_cjs-script_input_index_72f575.js @@ -1,5 +1,5 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push([ - "output/4e721_crates_turbopack-tests_tests_snapshot_export-alls_cjs-script_input_index_cf9dd6.js", + "output/4e721_crates_turbopack-tests_tests_snapshot_export-alls_cjs-script_input_index_72f575.js", {}, {"otherChunks":["output/4e721_crates_turbopack-tests_tests_snapshot_export-alls_cjs-script_input_97f0a8._.js"],"runtimeModuleIds":["[project]/turbopack/crates/turbopack-tests/tests/snapshot/export-alls/cjs-script/input/index.js [test] (ecmascript)"]} ]); diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/export-alls/cjs-script/output/4e721_crates_turbopack-tests_tests_snapshot_export-alls_cjs-script_input_index_cf9dd6.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/export-alls/cjs-script/output/4e721_crates_turbopack-tests_tests_snapshot_export-alls_cjs-script_input_index_72f575.js.map similarity index 100% rename from turbopack/crates/turbopack-tests/tests/snapshot/export-alls/cjs-script/output/4e721_crates_turbopack-tests_tests_snapshot_export-alls_cjs-script_input_index_cf9dd6.js.map rename to turbopack/crates/turbopack-tests/tests/snapshot/export-alls/cjs-script/output/4e721_crates_turbopack-tests_tests_snapshot_export-alls_cjs-script_input_index_72f575.js.map diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/cjs/output/4e721_crates_turbopack-tests_tests_snapshot_import-meta_cjs_input_index_f94bd9.js b/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/cjs/output/4e721_crates_turbopack-tests_tests_snapshot_import-meta_cjs_input_index_2f75c0.js similarity index 92% rename from turbopack/crates/turbopack-tests/tests/snapshot/import-meta/cjs/output/4e721_crates_turbopack-tests_tests_snapshot_import-meta_cjs_input_index_f94bd9.js rename to turbopack/crates/turbopack-tests/tests/snapshot/import-meta/cjs/output/4e721_crates_turbopack-tests_tests_snapshot_import-meta_cjs_input_index_2f75c0.js index e2f36592c35ce..9e4d57e2b8da2 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/cjs/output/4e721_crates_turbopack-tests_tests_snapshot_import-meta_cjs_input_index_f94bd9.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/cjs/output/4e721_crates_turbopack-tests_tests_snapshot_import-meta_cjs_input_index_2f75c0.js @@ -1,5 +1,5 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push([ - "output/4e721_crates_turbopack-tests_tests_snapshot_import-meta_cjs_input_index_f94bd9.js", + "output/4e721_crates_turbopack-tests_tests_snapshot_import-meta_cjs_input_index_2f75c0.js", {}, {"otherChunks":["output/turbopack_crates_turbopack-tests_tests_snapshot_import-meta_cjs_input_8e1e02._.js"],"runtimeModuleIds":["[project]/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/cjs/input/index.js [test] (ecmascript)"]} ]); diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/cjs/output/4e721_crates_turbopack-tests_tests_snapshot_import-meta_cjs_input_index_f94bd9.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/cjs/output/4e721_crates_turbopack-tests_tests_snapshot_import-meta_cjs_input_index_2f75c0.js.map similarity index 100% rename from turbopack/crates/turbopack-tests/tests/snapshot/import-meta/cjs/output/4e721_crates_turbopack-tests_tests_snapshot_import-meta_cjs_input_index_f94bd9.js.map rename to turbopack/crates/turbopack-tests/tests/snapshot/import-meta/cjs/output/4e721_crates_turbopack-tests_tests_snapshot_import-meta_cjs_input_index_2f75c0.js.map diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm-multiple/output/b1abf_turbopack-tests_tests_snapshot_import-meta_esm-multiple_input_index_ad408f.js b/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm-multiple/output/b1abf_turbopack-tests_tests_snapshot_import-meta_esm-multiple_input_index_8d5fae.js similarity index 92% rename from turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm-multiple/output/b1abf_turbopack-tests_tests_snapshot_import-meta_esm-multiple_input_index_ad408f.js rename to turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm-multiple/output/b1abf_turbopack-tests_tests_snapshot_import-meta_esm-multiple_input_index_8d5fae.js index 9e97dcbad1020..940bd5b1a0a1b 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm-multiple/output/b1abf_turbopack-tests_tests_snapshot_import-meta_esm-multiple_input_index_ad408f.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm-multiple/output/b1abf_turbopack-tests_tests_snapshot_import-meta_esm-multiple_input_index_8d5fae.js @@ -1,5 +1,5 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push([ - "output/b1abf_turbopack-tests_tests_snapshot_import-meta_esm-multiple_input_index_ad408f.js", + "output/b1abf_turbopack-tests_tests_snapshot_import-meta_esm-multiple_input_index_8d5fae.js", {}, {"otherChunks":["output/4e721_crates_turbopack-tests_tests_snapshot_import-meta_esm-multiple_input_2057b4._.js"],"runtimeModuleIds":["[project]/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm-multiple/input/index.js [test] (ecmascript)"]} ]); diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm-multiple/output/b1abf_turbopack-tests_tests_snapshot_import-meta_esm-multiple_input_index_ad408f.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm-multiple/output/b1abf_turbopack-tests_tests_snapshot_import-meta_esm-multiple_input_index_8d5fae.js.map similarity index 100% rename from turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm-multiple/output/b1abf_turbopack-tests_tests_snapshot_import-meta_esm-multiple_input_index_ad408f.js.map rename to turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm-multiple/output/b1abf_turbopack-tests_tests_snapshot_import-meta_esm-multiple_input_index_8d5fae.js.map diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm-mutable/output/b1abf_turbopack-tests_tests_snapshot_import-meta_esm-mutable_input_index_490142.js b/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm-mutable/output/b1abf_turbopack-tests_tests_snapshot_import-meta_esm-mutable_input_index_60b84a.js similarity index 92% rename from turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm-mutable/output/b1abf_turbopack-tests_tests_snapshot_import-meta_esm-mutable_input_index_490142.js rename to turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm-mutable/output/b1abf_turbopack-tests_tests_snapshot_import-meta_esm-mutable_input_index_60b84a.js index b450539a36bfe..c1c4a095c92eb 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm-mutable/output/b1abf_turbopack-tests_tests_snapshot_import-meta_esm-mutable_input_index_490142.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm-mutable/output/b1abf_turbopack-tests_tests_snapshot_import-meta_esm-mutable_input_index_60b84a.js @@ -1,5 +1,5 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push([ - "output/b1abf_turbopack-tests_tests_snapshot_import-meta_esm-mutable_input_index_490142.js", + "output/b1abf_turbopack-tests_tests_snapshot_import-meta_esm-mutable_input_index_60b84a.js", {}, {"otherChunks":["output/4e721_crates_turbopack-tests_tests_snapshot_import-meta_esm-mutable_input_f8b72a._.js"],"runtimeModuleIds":["[project]/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm-mutable/input/index.js [test] (ecmascript)"]} ]); diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm-mutable/output/b1abf_turbopack-tests_tests_snapshot_import-meta_esm-mutable_input_index_490142.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm-mutable/output/b1abf_turbopack-tests_tests_snapshot_import-meta_esm-mutable_input_index_60b84a.js.map similarity index 100% rename from turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm-mutable/output/b1abf_turbopack-tests_tests_snapshot_import-meta_esm-mutable_input_index_490142.js.map rename to turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm-mutable/output/b1abf_turbopack-tests_tests_snapshot_import-meta_esm-mutable_input_index_60b84a.js.map diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm-object/output/4e721_crates_turbopack-tests_tests_snapshot_import-meta_esm-object_input_index_165d4c.js b/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm-object/output/4e721_crates_turbopack-tests_tests_snapshot_import-meta_esm-object_input_index_66f6e5.js similarity index 91% rename from turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm-object/output/4e721_crates_turbopack-tests_tests_snapshot_import-meta_esm-object_input_index_165d4c.js rename to turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm-object/output/4e721_crates_turbopack-tests_tests_snapshot_import-meta_esm-object_input_index_66f6e5.js index dc3d67f244bef..0923a799f2cb3 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm-object/output/4e721_crates_turbopack-tests_tests_snapshot_import-meta_esm-object_input_index_165d4c.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm-object/output/4e721_crates_turbopack-tests_tests_snapshot_import-meta_esm-object_input_index_66f6e5.js @@ -1,5 +1,5 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push([ - "output/4e721_crates_turbopack-tests_tests_snapshot_import-meta_esm-object_input_index_165d4c.js", + "output/4e721_crates_turbopack-tests_tests_snapshot_import-meta_esm-object_input_index_66f6e5.js", {}, {"otherChunks":["output/4e721_crates_turbopack-tests_tests_snapshot_import-meta_esm-object_input_4681c8._.js"],"runtimeModuleIds":["[project]/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm-object/input/index.js [test] (ecmascript)"]} ]); diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm-object/output/4e721_crates_turbopack-tests_tests_snapshot_import-meta_esm-object_input_index_165d4c.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm-object/output/4e721_crates_turbopack-tests_tests_snapshot_import-meta_esm-object_input_index_66f6e5.js.map similarity index 100% rename from turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm-object/output/4e721_crates_turbopack-tests_tests_snapshot_import-meta_esm-object_input_index_165d4c.js.map rename to turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm-object/output/4e721_crates_turbopack-tests_tests_snapshot_import-meta_esm-object_input_index_66f6e5.js.map diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm/output/4e721_crates_turbopack-tests_tests_snapshot_import-meta_esm_input_index_0a6361.js b/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm/output/4e721_crates_turbopack-tests_tests_snapshot_import-meta_esm_input_index_02fed5.js similarity index 92% rename from turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm/output/4e721_crates_turbopack-tests_tests_snapshot_import-meta_esm_input_index_0a6361.js rename to turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm/output/4e721_crates_turbopack-tests_tests_snapshot_import-meta_esm_input_index_02fed5.js index 644a2e0b8f2b8..cc716f2bd6ab2 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm/output/4e721_crates_turbopack-tests_tests_snapshot_import-meta_esm_input_index_0a6361.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm/output/4e721_crates_turbopack-tests_tests_snapshot_import-meta_esm_input_index_02fed5.js @@ -1,5 +1,5 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push([ - "output/4e721_crates_turbopack-tests_tests_snapshot_import-meta_esm_input_index_0a6361.js", + "output/4e721_crates_turbopack-tests_tests_snapshot_import-meta_esm_input_index_02fed5.js", {}, {"otherChunks":["output/turbopack_crates_turbopack-tests_tests_snapshot_import-meta_esm_input_187fac._.js"],"runtimeModuleIds":["[project]/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm/input/index.js [test] (ecmascript)"]} ]); diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm/output/4e721_crates_turbopack-tests_tests_snapshot_import-meta_esm_input_index_0a6361.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm/output/4e721_crates_turbopack-tests_tests_snapshot_import-meta_esm_input_index_02fed5.js.map similarity index 100% rename from turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm/output/4e721_crates_turbopack-tests_tests_snapshot_import-meta_esm_input_index_0a6361.js.map rename to turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm/output/4e721_crates_turbopack-tests_tests_snapshot_import-meta_esm_input_index_02fed5.js.map diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/url/output/4e721_crates_turbopack-tests_tests_snapshot_import-meta_url_input_index_ca7f9d.js b/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/url/output/4e721_crates_turbopack-tests_tests_snapshot_import-meta_url_input_index_da7049.js similarity index 92% rename from turbopack/crates/turbopack-tests/tests/snapshot/import-meta/url/output/4e721_crates_turbopack-tests_tests_snapshot_import-meta_url_input_index_ca7f9d.js rename to turbopack/crates/turbopack-tests/tests/snapshot/import-meta/url/output/4e721_crates_turbopack-tests_tests_snapshot_import-meta_url_input_index_da7049.js index 4242865defe70..50c2ef2bf9819 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/url/output/4e721_crates_turbopack-tests_tests_snapshot_import-meta_url_input_index_ca7f9d.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/url/output/4e721_crates_turbopack-tests_tests_snapshot_import-meta_url_input_index_da7049.js @@ -1,5 +1,5 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push([ - "output/4e721_crates_turbopack-tests_tests_snapshot_import-meta_url_input_index_ca7f9d.js", + "output/4e721_crates_turbopack-tests_tests_snapshot_import-meta_url_input_index_da7049.js", {}, {"otherChunks":["output/turbopack_crates_turbopack-tests_tests_snapshot_import-meta_url_input_6c57ac._.js"],"runtimeModuleIds":["[project]/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/url/input/index.js [test] (ecmascript)"]} ]); diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/url/output/4e721_crates_turbopack-tests_tests_snapshot_import-meta_url_input_index_ca7f9d.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/url/output/4e721_crates_turbopack-tests_tests_snapshot_import-meta_url_input_index_da7049.js.map similarity index 100% rename from turbopack/crates/turbopack-tests/tests/snapshot/import-meta/url/output/4e721_crates_turbopack-tests_tests_snapshot_import-meta_url_input_index_ca7f9d.js.map rename to turbopack/crates/turbopack-tests/tests/snapshot/import-meta/url/output/4e721_crates_turbopack-tests_tests_snapshot_import-meta_url_input_index_da7049.js.map diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/imports/duplicate-binding/output/b1abf_turbopack-tests_tests_snapshot_imports_duplicate-binding_input_index_837872.js b/turbopack/crates/turbopack-tests/tests/snapshot/imports/duplicate-binding/output/b1abf_turbopack-tests_tests_snapshot_imports_duplicate-binding_input_index_353d51.js similarity index 92% rename from turbopack/crates/turbopack-tests/tests/snapshot/imports/duplicate-binding/output/b1abf_turbopack-tests_tests_snapshot_imports_duplicate-binding_input_index_837872.js rename to turbopack/crates/turbopack-tests/tests/snapshot/imports/duplicate-binding/output/b1abf_turbopack-tests_tests_snapshot_imports_duplicate-binding_input_index_353d51.js index c2ab0415e99f1..0346029720a9d 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/imports/duplicate-binding/output/b1abf_turbopack-tests_tests_snapshot_imports_duplicate-binding_input_index_837872.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/imports/duplicate-binding/output/b1abf_turbopack-tests_tests_snapshot_imports_duplicate-binding_input_index_353d51.js @@ -1,5 +1,5 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push([ - "output/b1abf_turbopack-tests_tests_snapshot_imports_duplicate-binding_input_index_837872.js", + "output/b1abf_turbopack-tests_tests_snapshot_imports_duplicate-binding_input_index_353d51.js", {}, {"otherChunks":["output/4e721_crates_turbopack-tests_tests_snapshot_imports_duplicate-binding_input_8498b7._.js"],"runtimeModuleIds":["[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/duplicate-binding/input/index.js [test] (ecmascript)"]} ]); diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/imports/duplicate-binding/output/b1abf_turbopack-tests_tests_snapshot_imports_duplicate-binding_input_index_837872.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/imports/duplicate-binding/output/b1abf_turbopack-tests_tests_snapshot_imports_duplicate-binding_input_index_353d51.js.map similarity index 100% rename from turbopack/crates/turbopack-tests/tests/snapshot/imports/duplicate-binding/output/b1abf_turbopack-tests_tests_snapshot_imports_duplicate-binding_input_index_837872.js.map rename to turbopack/crates/turbopack-tests/tests/snapshot/imports/duplicate-binding/output/b1abf_turbopack-tests_tests_snapshot_imports_duplicate-binding_input_index_353d51.js.map diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/imports/dynamic/output/4e721_crates_turbopack-tests_tests_snapshot_imports_dynamic_input_index_f85706.js b/turbopack/crates/turbopack-tests/tests/snapshot/imports/dynamic/output/4e721_crates_turbopack-tests_tests_snapshot_imports_dynamic_input_index_41b5f3.js similarity index 93% rename from turbopack/crates/turbopack-tests/tests/snapshot/imports/dynamic/output/4e721_crates_turbopack-tests_tests_snapshot_imports_dynamic_input_index_f85706.js rename to turbopack/crates/turbopack-tests/tests/snapshot/imports/dynamic/output/4e721_crates_turbopack-tests_tests_snapshot_imports_dynamic_input_index_41b5f3.js index 9d19f24b0d5ff..84187cb016faa 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/imports/dynamic/output/4e721_crates_turbopack-tests_tests_snapshot_imports_dynamic_input_index_f85706.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/imports/dynamic/output/4e721_crates_turbopack-tests_tests_snapshot_imports_dynamic_input_index_41b5f3.js @@ -1,5 +1,5 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push([ - "output/4e721_crates_turbopack-tests_tests_snapshot_imports_dynamic_input_index_f85706.js", + "output/4e721_crates_turbopack-tests_tests_snapshot_imports_dynamic_input_index_41b5f3.js", {}, {"otherChunks":["output/4e721_crates_turbopack-tests_tests_snapshot_imports_dynamic_input_index_23ea6f.js","output/4e721_crates_turbopack-tests_tests_snapshot_imports_dynamic_input_vercel_mjs_a2d40e._.js"],"runtimeModuleIds":["[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/dynamic/input/index.js [test] (ecmascript)"]} ]); diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/imports/dynamic/output/4e721_crates_turbopack-tests_tests_snapshot_imports_dynamic_input_index_f85706.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/imports/dynamic/output/4e721_crates_turbopack-tests_tests_snapshot_imports_dynamic_input_index_41b5f3.js.map similarity index 100% rename from turbopack/crates/turbopack-tests/tests/snapshot/imports/dynamic/output/4e721_crates_turbopack-tests_tests_snapshot_imports_dynamic_input_index_f85706.js.map rename to turbopack/crates/turbopack-tests/tests/snapshot/imports/dynamic/output/4e721_crates_turbopack-tests_tests_snapshot_imports_dynamic_input_index_41b5f3.js.map diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/imports/ignore-comments/output/4e721_crates_turbopack-tests_tests_snapshot_imports_ignore-comments_input_26ea62._.js b/turbopack/crates/turbopack-tests/tests/snapshot/imports/ignore-comments/output/4e721_crates_turbopack-tests_tests_snapshot_imports_ignore-comments_input_26ea62._.js index 1af0c7a62b15d..f0674bb620a42 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/imports/ignore-comments/output/4e721_crates_turbopack-tests_tests_snapshot_imports_ignore-comments_input_26ea62._.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/imports/ignore-comments/output/4e721_crates_turbopack-tests_tests_snapshot_imports_ignore-comments_input_26ea62._.js @@ -17,7 +17,7 @@ var { r: __turbopack_require__, f: __turbopack_module_context__, i: __turbopack_ { __turbopack_export_value__(__turbopack_worker_blob_url__([ "output/b1abf_turbopack-tests_tests_snapshot_imports_ignore-comments_input_vercel_cjs_1ec8d7._.js", - "output/c5b29_tests_snapshot_imports_ignore-comments_input_vercel_cjs_75b6e3___092279.js" + "output/61784_tests_snapshot_imports_ignore-comments_input_vercel_cjs_75b6e3___ad9094.js" ])); }}), "[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/ignore-comments/input/index.js [test] (ecmascript)": ((__turbopack_context__) => { diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/imports/ignore-comments/output/c5b29_tests_snapshot_imports_ignore-comments_input_vercel_cjs_75b6e3___092279.js b/turbopack/crates/turbopack-tests/tests/snapshot/imports/ignore-comments/output/61784_tests_snapshot_imports_ignore-comments_input_vercel_cjs_75b6e3___ad9094.js similarity index 78% rename from turbopack/crates/turbopack-tests/tests/snapshot/imports/ignore-comments/output/c5b29_tests_snapshot_imports_ignore-comments_input_vercel_cjs_75b6e3___092279.js rename to turbopack/crates/turbopack-tests/tests/snapshot/imports/ignore-comments/output/61784_tests_snapshot_imports_ignore-comments_input_vercel_cjs_75b6e3___ad9094.js index b0181dae70f7a..39c77bcb552ec 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/imports/ignore-comments/output/c5b29_tests_snapshot_imports_ignore-comments_input_vercel_cjs_75b6e3___092279.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/imports/ignore-comments/output/61784_tests_snapshot_imports_ignore-comments_input_vercel_cjs_75b6e3___ad9094.js @@ -1,5 +1,5 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push([ - "output/c5b29_tests_snapshot_imports_ignore-comments_input_vercel_cjs_75b6e3___092279.js", + "output/61784_tests_snapshot_imports_ignore-comments_input_vercel_cjs_75b6e3___ad9094.js", {}, {"otherChunks":["output/b1abf_turbopack-tests_tests_snapshot_imports_ignore-comments_input_vercel_cjs_1ec8d7._.js"],"runtimeModuleIds":["[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/ignore-comments/input/vercel.cjs [test] (ecmascript)"]} ]); diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/imports/ignore-comments/output/b1abf_turbopack-tests_tests_snapshot_imports_ignore-comments_input_index_61a75d.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/imports/ignore-comments/output/61784_tests_snapshot_imports_ignore-comments_input_vercel_cjs_75b6e3___ad9094.js.map similarity index 100% rename from turbopack/crates/turbopack-tests/tests/snapshot/imports/ignore-comments/output/b1abf_turbopack-tests_tests_snapshot_imports_ignore-comments_input_index_61a75d.js.map rename to turbopack/crates/turbopack-tests/tests/snapshot/imports/ignore-comments/output/61784_tests_snapshot_imports_ignore-comments_input_vercel_cjs_75b6e3___ad9094.js.map diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/imports/ignore-comments/output/b1abf_turbopack-tests_tests_snapshot_imports_ignore-comments_input_index_61a75d.js b/turbopack/crates/turbopack-tests/tests/snapshot/imports/ignore-comments/output/b1abf_turbopack-tests_tests_snapshot_imports_ignore-comments_input_index_b5a38b.js similarity index 93% rename from turbopack/crates/turbopack-tests/tests/snapshot/imports/ignore-comments/output/b1abf_turbopack-tests_tests_snapshot_imports_ignore-comments_input_index_61a75d.js rename to turbopack/crates/turbopack-tests/tests/snapshot/imports/ignore-comments/output/b1abf_turbopack-tests_tests_snapshot_imports_ignore-comments_input_index_b5a38b.js index 0c86c80895499..d967eafc306fe 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/imports/ignore-comments/output/b1abf_turbopack-tests_tests_snapshot_imports_ignore-comments_input_index_61a75d.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/imports/ignore-comments/output/b1abf_turbopack-tests_tests_snapshot_imports_ignore-comments_input_index_b5a38b.js @@ -1,5 +1,5 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push([ - "output/b1abf_turbopack-tests_tests_snapshot_imports_ignore-comments_input_index_61a75d.js", + "output/b1abf_turbopack-tests_tests_snapshot_imports_ignore-comments_input_index_b5a38b.js", {}, {"otherChunks":["output/4e721_crates_turbopack-tests_tests_snapshot_imports_ignore-comments_input_26ea62._.js","output/b1abf_turbopack-tests_tests_snapshot_imports_ignore-comments_input_vercel_mjs_bc04b7._.js"],"runtimeModuleIds":["[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/ignore-comments/input/index.js [test] (ecmascript)"]} ]); diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/imports/ignore-comments/output/c5b29_tests_snapshot_imports_ignore-comments_input_vercel_cjs_75b6e3___092279.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/imports/ignore-comments/output/b1abf_turbopack-tests_tests_snapshot_imports_ignore-comments_input_index_b5a38b.js.map similarity index 100% rename from turbopack/crates/turbopack-tests/tests/snapshot/imports/ignore-comments/output/c5b29_tests_snapshot_imports_ignore-comments_input_vercel_cjs_75b6e3___092279.js.map rename to turbopack/crates/turbopack-tests/tests/snapshot/imports/ignore-comments/output/b1abf_turbopack-tests_tests_snapshot_imports_ignore-comments_input_index_b5a38b.js.map diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/imports/json/output/turbopack_crates_turbopack-tests_tests_snapshot_imports_json_input_index_d3d451.js b/turbopack/crates/turbopack-tests/tests/snapshot/imports/json/output/turbopack_crates_turbopack-tests_tests_snapshot_imports_json_input_index_485b5d.js similarity index 92% rename from turbopack/crates/turbopack-tests/tests/snapshot/imports/json/output/turbopack_crates_turbopack-tests_tests_snapshot_imports_json_input_index_d3d451.js rename to turbopack/crates/turbopack-tests/tests/snapshot/imports/json/output/turbopack_crates_turbopack-tests_tests_snapshot_imports_json_input_index_485b5d.js index 833d5f0ccc1d0..fdad671d9b308 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/imports/json/output/turbopack_crates_turbopack-tests_tests_snapshot_imports_json_input_index_d3d451.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/imports/json/output/turbopack_crates_turbopack-tests_tests_snapshot_imports_json_input_index_485b5d.js @@ -1,5 +1,5 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push([ - "output/turbopack_crates_turbopack-tests_tests_snapshot_imports_json_input_index_d3d451.js", + "output/turbopack_crates_turbopack-tests_tests_snapshot_imports_json_input_index_485b5d.js", {}, {"otherChunks":["output/turbopack_crates_turbopack-tests_tests_snapshot_imports_json_input_52abdb._.js"],"runtimeModuleIds":["[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/json/input/index.js [test] (ecmascript)"]} ]); diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/imports/json/output/turbopack_crates_turbopack-tests_tests_snapshot_imports_json_input_index_d3d451.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/imports/json/output/turbopack_crates_turbopack-tests_tests_snapshot_imports_json_input_index_485b5d.js.map similarity index 100% rename from turbopack/crates/turbopack-tests/tests/snapshot/imports/json/output/turbopack_crates_turbopack-tests_tests_snapshot_imports_json_input_index_d3d451.js.map rename to turbopack/crates/turbopack-tests/tests/snapshot/imports/json/output/turbopack_crates_turbopack-tests_tests_snapshot_imports_json_input_index_485b5d.js.map diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/imports/order/output/turbopack_crates_turbopack-tests_tests_snapshot_imports_order_input_index_d2d66e.js b/turbopack/crates/turbopack-tests/tests/snapshot/imports/order/output/turbopack_crates_turbopack-tests_tests_snapshot_imports_order_input_index_2b08c3.js similarity index 92% rename from turbopack/crates/turbopack-tests/tests/snapshot/imports/order/output/turbopack_crates_turbopack-tests_tests_snapshot_imports_order_input_index_d2d66e.js rename to turbopack/crates/turbopack-tests/tests/snapshot/imports/order/output/turbopack_crates_turbopack-tests_tests_snapshot_imports_order_input_index_2b08c3.js index 62c1ac53c71d1..ece26467d2168 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/imports/order/output/turbopack_crates_turbopack-tests_tests_snapshot_imports_order_input_index_d2d66e.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/imports/order/output/turbopack_crates_turbopack-tests_tests_snapshot_imports_order_input_index_2b08c3.js @@ -1,5 +1,5 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push([ - "output/turbopack_crates_turbopack-tests_tests_snapshot_imports_order_input_index_d2d66e.js", + "output/turbopack_crates_turbopack-tests_tests_snapshot_imports_order_input_index_2b08c3.js", {}, {"otherChunks":["output/turbopack_crates_turbopack-tests_tests_snapshot_imports_order_input_152f31._.js"],"runtimeModuleIds":["[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/order/input/index.js [test] (ecmascript)"]} ]); diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/imports/order/output/turbopack_crates_turbopack-tests_tests_snapshot_imports_order_input_index_d2d66e.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/imports/order/output/turbopack_crates_turbopack-tests_tests_snapshot_imports_order_input_index_2b08c3.js.map similarity index 100% rename from turbopack/crates/turbopack-tests/tests/snapshot/imports/order/output/turbopack_crates_turbopack-tests_tests_snapshot_imports_order_input_index_d2d66e.js.map rename to turbopack/crates/turbopack-tests/tests/snapshot/imports/order/output/turbopack_crates_turbopack-tests_tests_snapshot_imports_order_input_index_2b08c3.js.map diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/imports/resolve_error_cjs/output/b1abf_turbopack-tests_tests_snapshot_imports_resolve_error_cjs_input_index_ee035d.js b/turbopack/crates/turbopack-tests/tests/snapshot/imports/resolve_error_cjs/output/b1abf_turbopack-tests_tests_snapshot_imports_resolve_error_cjs_input_index_cdc481.js similarity index 92% rename from turbopack/crates/turbopack-tests/tests/snapshot/imports/resolve_error_cjs/output/b1abf_turbopack-tests_tests_snapshot_imports_resolve_error_cjs_input_index_ee035d.js rename to turbopack/crates/turbopack-tests/tests/snapshot/imports/resolve_error_cjs/output/b1abf_turbopack-tests_tests_snapshot_imports_resolve_error_cjs_input_index_cdc481.js index 497976bd472c8..cdb4a889f3fef 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/imports/resolve_error_cjs/output/b1abf_turbopack-tests_tests_snapshot_imports_resolve_error_cjs_input_index_ee035d.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/imports/resolve_error_cjs/output/b1abf_turbopack-tests_tests_snapshot_imports_resolve_error_cjs_input_index_cdc481.js @@ -1,5 +1,5 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push([ - "output/b1abf_turbopack-tests_tests_snapshot_imports_resolve_error_cjs_input_index_ee035d.js", + "output/b1abf_turbopack-tests_tests_snapshot_imports_resolve_error_cjs_input_index_cdc481.js", {}, {"otherChunks":["output/b1abf_turbopack-tests_tests_snapshot_imports_resolve_error_cjs_input_index_bdab1d.js"],"runtimeModuleIds":["[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/resolve_error_cjs/input/index.js [test] (ecmascript)"]} ]); diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/imports/resolve_error_cjs/output/b1abf_turbopack-tests_tests_snapshot_imports_resolve_error_cjs_input_index_ee035d.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/imports/resolve_error_cjs/output/b1abf_turbopack-tests_tests_snapshot_imports_resolve_error_cjs_input_index_cdc481.js.map similarity index 100% rename from turbopack/crates/turbopack-tests/tests/snapshot/imports/resolve_error_cjs/output/b1abf_turbopack-tests_tests_snapshot_imports_resolve_error_cjs_input_index_ee035d.js.map rename to turbopack/crates/turbopack-tests/tests/snapshot/imports/resolve_error_cjs/output/b1abf_turbopack-tests_tests_snapshot_imports_resolve_error_cjs_input_index_cdc481.js.map diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/imports/resolve_error_esm/output/b1abf_turbopack-tests_tests_snapshot_imports_resolve_error_esm_input_index_9d62ac.js b/turbopack/crates/turbopack-tests/tests/snapshot/imports/resolve_error_esm/output/b1abf_turbopack-tests_tests_snapshot_imports_resolve_error_esm_input_index_1fa1cb.js similarity index 92% rename from turbopack/crates/turbopack-tests/tests/snapshot/imports/resolve_error_esm/output/b1abf_turbopack-tests_tests_snapshot_imports_resolve_error_esm_input_index_9d62ac.js rename to turbopack/crates/turbopack-tests/tests/snapshot/imports/resolve_error_esm/output/b1abf_turbopack-tests_tests_snapshot_imports_resolve_error_esm_input_index_1fa1cb.js index 78b4518463b94..7e51fac617918 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/imports/resolve_error_esm/output/b1abf_turbopack-tests_tests_snapshot_imports_resolve_error_esm_input_index_9d62ac.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/imports/resolve_error_esm/output/b1abf_turbopack-tests_tests_snapshot_imports_resolve_error_esm_input_index_1fa1cb.js @@ -1,5 +1,5 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push([ - "output/b1abf_turbopack-tests_tests_snapshot_imports_resolve_error_esm_input_index_9d62ac.js", + "output/b1abf_turbopack-tests_tests_snapshot_imports_resolve_error_esm_input_index_1fa1cb.js", {}, {"otherChunks":["output/b1abf_turbopack-tests_tests_snapshot_imports_resolve_error_esm_input_index_4187ef.js"],"runtimeModuleIds":["[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/resolve_error_esm/input/index.js [test] (ecmascript)"]} ]); diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/imports/resolve_error_esm/output/b1abf_turbopack-tests_tests_snapshot_imports_resolve_error_esm_input_index_9d62ac.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/imports/resolve_error_esm/output/b1abf_turbopack-tests_tests_snapshot_imports_resolve_error_esm_input_index_1fa1cb.js.map similarity index 100% rename from turbopack/crates/turbopack-tests/tests/snapshot/imports/resolve_error_esm/output/b1abf_turbopack-tests_tests_snapshot_imports_resolve_error_esm_input_index_9d62ac.js.map rename to turbopack/crates/turbopack-tests/tests/snapshot/imports/resolve_error_esm/output/b1abf_turbopack-tests_tests_snapshot_imports_resolve_error_esm_input_index_1fa1cb.js.map diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/imports/static-and-dynamic/output/b1abf_turbopack-tests_tests_snapshot_imports_static-and-dynamic_input_index_e8502f.js b/turbopack/crates/turbopack-tests/tests/snapshot/imports/static-and-dynamic/output/b1abf_turbopack-tests_tests_snapshot_imports_static-and-dynamic_input_index_aeac15.js similarity index 93% rename from turbopack/crates/turbopack-tests/tests/snapshot/imports/static-and-dynamic/output/b1abf_turbopack-tests_tests_snapshot_imports_static-and-dynamic_input_index_e8502f.js rename to turbopack/crates/turbopack-tests/tests/snapshot/imports/static-and-dynamic/output/b1abf_turbopack-tests_tests_snapshot_imports_static-and-dynamic_input_index_aeac15.js index d1906c79541c0..34ecbb173e8f6 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/imports/static-and-dynamic/output/b1abf_turbopack-tests_tests_snapshot_imports_static-and-dynamic_input_index_e8502f.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/imports/static-and-dynamic/output/b1abf_turbopack-tests_tests_snapshot_imports_static-and-dynamic_input_index_aeac15.js @@ -1,5 +1,5 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push([ - "output/b1abf_turbopack-tests_tests_snapshot_imports_static-and-dynamic_input_index_e8502f.js", + "output/b1abf_turbopack-tests_tests_snapshot_imports_static-and-dynamic_input_index_aeac15.js", {}, {"otherChunks":["output/4e721_crates_turbopack-tests_tests_snapshot_imports_static-and-dynamic_input_ab9cac._.js","output/4c35f_tests_snapshot_imports_static-and-dynamic_input_vercel_mjs_cbd419._.js"],"runtimeModuleIds":["[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/static-and-dynamic/input/index.js [test] (ecmascript)"]} ]); diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/imports/static-and-dynamic/output/b1abf_turbopack-tests_tests_snapshot_imports_static-and-dynamic_input_index_e8502f.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/imports/static-and-dynamic/output/b1abf_turbopack-tests_tests_snapshot_imports_static-and-dynamic_input_index_aeac15.js.map similarity index 100% rename from turbopack/crates/turbopack-tests/tests/snapshot/imports/static-and-dynamic/output/b1abf_turbopack-tests_tests_snapshot_imports_static-and-dynamic_input_index_e8502f.js.map rename to turbopack/crates/turbopack-tests/tests/snapshot/imports/static-and-dynamic/output/b1abf_turbopack-tests_tests_snapshot_imports_static-and-dynamic_input_index_aeac15.js.map diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/imports/static/output/4e721_crates_turbopack-tests_tests_snapshot_imports_static_input_index_97c6d9.js b/turbopack/crates/turbopack-tests/tests/snapshot/imports/static/output/4e721_crates_turbopack-tests_tests_snapshot_imports_static_input_index_b30b52.js similarity index 92% rename from turbopack/crates/turbopack-tests/tests/snapshot/imports/static/output/4e721_crates_turbopack-tests_tests_snapshot_imports_static_input_index_97c6d9.js rename to turbopack/crates/turbopack-tests/tests/snapshot/imports/static/output/4e721_crates_turbopack-tests_tests_snapshot_imports_static_input_index_b30b52.js index f4967c4b23e27..67b8496b84bd0 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/imports/static/output/4e721_crates_turbopack-tests_tests_snapshot_imports_static_input_index_97c6d9.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/imports/static/output/4e721_crates_turbopack-tests_tests_snapshot_imports_static_input_index_b30b52.js @@ -1,5 +1,5 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push([ - "output/4e721_crates_turbopack-tests_tests_snapshot_imports_static_input_index_97c6d9.js", + "output/4e721_crates_turbopack-tests_tests_snapshot_imports_static_input_index_b30b52.js", {}, {"otherChunks":["output/turbopack_crates_turbopack-tests_tests_snapshot_imports_static_input_73301e._.js"],"runtimeModuleIds":["[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/static/input/index.js [test] (ecmascript)"]} ]); diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/imports/static/output/4e721_crates_turbopack-tests_tests_snapshot_imports_static_input_index_97c6d9.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/imports/static/output/4e721_crates_turbopack-tests_tests_snapshot_imports_static_input_index_b30b52.js.map similarity index 100% rename from turbopack/crates/turbopack-tests/tests/snapshot/imports/static/output/4e721_crates_turbopack-tests_tests_snapshot_imports_static_input_index_97c6d9.js.map rename to turbopack/crates/turbopack-tests/tests/snapshot/imports/static/output/4e721_crates_turbopack-tests_tests_snapshot_imports_static_input_index_b30b52.js.map diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/imports/subpath-imports-nested/output/4c35f_tests_snapshot_imports_subpath-imports-nested_input_index_cef629.js b/turbopack/crates/turbopack-tests/tests/snapshot/imports/subpath-imports-nested/output/4c35f_tests_snapshot_imports_subpath-imports-nested_input_index_d845f9.js similarity index 94% rename from turbopack/crates/turbopack-tests/tests/snapshot/imports/subpath-imports-nested/output/4c35f_tests_snapshot_imports_subpath-imports-nested_input_index_cef629.js rename to turbopack/crates/turbopack-tests/tests/snapshot/imports/subpath-imports-nested/output/4c35f_tests_snapshot_imports_subpath-imports-nested_input_index_d845f9.js index 53f012b7b8c5c..5134228ee2eec 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/imports/subpath-imports-nested/output/4c35f_tests_snapshot_imports_subpath-imports-nested_input_index_cef629.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/imports/subpath-imports-nested/output/4c35f_tests_snapshot_imports_subpath-imports-nested_input_index_d845f9.js @@ -1,5 +1,5 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push([ - "output/4c35f_tests_snapshot_imports_subpath-imports-nested_input_index_cef629.js", + "output/4c35f_tests_snapshot_imports_subpath-imports-nested_input_index_d845f9.js", {}, {"otherChunks":["output/b1abf_turbopack-tests_tests_snapshot_imports_subpath-imports-nested_input_2e0531._.js"],"runtimeModuleIds":["[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/subpath-imports-nested/input/index.js [test] (ecmascript)"]} ]); diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/imports/subpath-imports-nested/output/4c35f_tests_snapshot_imports_subpath-imports-nested_input_index_cef629.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/imports/subpath-imports-nested/output/4c35f_tests_snapshot_imports_subpath-imports-nested_input_index_d845f9.js.map similarity index 100% rename from turbopack/crates/turbopack-tests/tests/snapshot/imports/subpath-imports-nested/output/4c35f_tests_snapshot_imports_subpath-imports-nested_input_index_cef629.js.map rename to turbopack/crates/turbopack-tests/tests/snapshot/imports/subpath-imports-nested/output/4c35f_tests_snapshot_imports_subpath-imports-nested_input_index_d845f9.js.map diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/imports/subpath-imports/output/b1abf_turbopack-tests_tests_snapshot_imports_subpath-imports_input_index_a0198f.js b/turbopack/crates/turbopack-tests/tests/snapshot/imports/subpath-imports/output/b1abf_turbopack-tests_tests_snapshot_imports_subpath-imports_input_index_3f6f52.js similarity index 92% rename from turbopack/crates/turbopack-tests/tests/snapshot/imports/subpath-imports/output/b1abf_turbopack-tests_tests_snapshot_imports_subpath-imports_input_index_a0198f.js rename to turbopack/crates/turbopack-tests/tests/snapshot/imports/subpath-imports/output/b1abf_turbopack-tests_tests_snapshot_imports_subpath-imports_input_index_3f6f52.js index 3141a213446ce..ad0de7bbce1b8 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/imports/subpath-imports/output/b1abf_turbopack-tests_tests_snapshot_imports_subpath-imports_input_index_a0198f.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/imports/subpath-imports/output/b1abf_turbopack-tests_tests_snapshot_imports_subpath-imports_input_index_3f6f52.js @@ -1,5 +1,5 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push([ - "output/b1abf_turbopack-tests_tests_snapshot_imports_subpath-imports_input_index_a0198f.js", + "output/b1abf_turbopack-tests_tests_snapshot_imports_subpath-imports_input_index_3f6f52.js", {}, {"otherChunks":["output/4e721_crates_turbopack-tests_tests_snapshot_imports_subpath-imports_input_1e6552._.js"],"runtimeModuleIds":["[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/subpath-imports/input/index.js [test] (ecmascript)"]} ]); diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/imports/subpath-imports/output/b1abf_turbopack-tests_tests_snapshot_imports_subpath-imports_input_index_a0198f.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/imports/subpath-imports/output/b1abf_turbopack-tests_tests_snapshot_imports_subpath-imports_input_index_3f6f52.js.map similarity index 100% rename from turbopack/crates/turbopack-tests/tests/snapshot/imports/subpath-imports/output/b1abf_turbopack-tests_tests_snapshot_imports_subpath-imports_input_index_a0198f.js.map rename to turbopack/crates/turbopack-tests/tests/snapshot/imports/subpath-imports/output/b1abf_turbopack-tests_tests_snapshot_imports_subpath-imports_input_index_3f6f52.js.map diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/mdx/error/output/turbopack_crates_turbopack-tests_tests_snapshot_mdx_error_input_index_bb12ba.js b/turbopack/crates/turbopack-tests/tests/snapshot/mdx/error/output/turbopack_crates_turbopack-tests_tests_snapshot_mdx_error_input_index_983765.js similarity index 92% rename from turbopack/crates/turbopack-tests/tests/snapshot/mdx/error/output/turbopack_crates_turbopack-tests_tests_snapshot_mdx_error_input_index_bb12ba.js rename to turbopack/crates/turbopack-tests/tests/snapshot/mdx/error/output/turbopack_crates_turbopack-tests_tests_snapshot_mdx_error_input_index_983765.js index 1cb34290ec981..7a27e10dbb6b9 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/mdx/error/output/turbopack_crates_turbopack-tests_tests_snapshot_mdx_error_input_index_bb12ba.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/mdx/error/output/turbopack_crates_turbopack-tests_tests_snapshot_mdx_error_input_index_983765.js @@ -1,5 +1,5 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push([ - "output/turbopack_crates_turbopack-tests_tests_snapshot_mdx_error_input_index_bb12ba.js", + "output/turbopack_crates_turbopack-tests_tests_snapshot_mdx_error_input_index_983765.js", {}, {"otherChunks":["output/turbopack_crates_turbopack-tests_tests_snapshot_mdx_error_input_index_e6acdd.js"],"runtimeModuleIds":["[project]/turbopack/crates/turbopack-tests/tests/snapshot/mdx/error/input/index.js [test] (ecmascript)"]} ]); diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/mdx/error/output/turbopack_crates_turbopack-tests_tests_snapshot_mdx_error_input_index_bb12ba.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/mdx/error/output/turbopack_crates_turbopack-tests_tests_snapshot_mdx_error_input_index_983765.js.map similarity index 100% rename from turbopack/crates/turbopack-tests/tests/snapshot/mdx/error/output/turbopack_crates_turbopack-tests_tests_snapshot_mdx_error_input_index_bb12ba.js.map rename to turbopack/crates/turbopack-tests/tests/snapshot/mdx/error/output/turbopack_crates_turbopack-tests_tests_snapshot_mdx_error_input_index_983765.js.map diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/minification/paren-remover/output/b1abf_turbopack-tests_tests_snapshot_minification_paren-remover_input_index_9fb543.js b/turbopack/crates/turbopack-tests/tests/snapshot/minification/paren-remover/output/b1abf_turbopack-tests_tests_snapshot_minification_paren-remover_input_index_2fbcfd.js similarity index 91% rename from turbopack/crates/turbopack-tests/tests/snapshot/minification/paren-remover/output/b1abf_turbopack-tests_tests_snapshot_minification_paren-remover_input_index_9fb543.js rename to turbopack/crates/turbopack-tests/tests/snapshot/minification/paren-remover/output/b1abf_turbopack-tests_tests_snapshot_minification_paren-remover_input_index_2fbcfd.js index 7020a245b589d..f75fd9afe5af6 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/minification/paren-remover/output/b1abf_turbopack-tests_tests_snapshot_minification_paren-remover_input_index_9fb543.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/minification/paren-remover/output/b1abf_turbopack-tests_tests_snapshot_minification_paren-remover_input_index_2fbcfd.js @@ -1,5 +1,5 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push([ - "output/b1abf_turbopack-tests_tests_snapshot_minification_paren-remover_input_index_9fb543.js", + "output/b1abf_turbopack-tests_tests_snapshot_minification_paren-remover_input_index_2fbcfd.js", {}, {"otherChunks":["output/b1abf_turbopack-tests_tests_snapshot_minification_paren-remover_input_index_032d7e.js"],"runtimeModuleIds":["[project]/turbopack/crates/turbopack-tests/tests/snapshot/minification/paren-remover/input/index.js [test] (ecmascript)"]} ]); diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/minification/paren-remover/output/b1abf_turbopack-tests_tests_snapshot_minification_paren-remover_input_index_9fb543.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/minification/paren-remover/output/b1abf_turbopack-tests_tests_snapshot_minification_paren-remover_input_index_2fbcfd.js.map similarity index 100% rename from turbopack/crates/turbopack-tests/tests/snapshot/minification/paren-remover/output/b1abf_turbopack-tests_tests_snapshot_minification_paren-remover_input_index_9fb543.js.map rename to turbopack/crates/turbopack-tests/tests/snapshot/minification/paren-remover/output/b1abf_turbopack-tests_tests_snapshot_minification_paren-remover_input_index_2fbcfd.js.map diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/node/node_protocol_external/output/b1abf_turbopack-tests_tests_snapshot_node_node_protocol_external_input_index_763243.js b/turbopack/crates/turbopack-tests/tests/snapshot/node/node_protocol_external/output/b1abf_turbopack-tests_tests_snapshot_node_node_protocol_external_input_index_af4d59.js similarity index 91% rename from turbopack/crates/turbopack-tests/tests/snapshot/node/node_protocol_external/output/b1abf_turbopack-tests_tests_snapshot_node_node_protocol_external_input_index_763243.js rename to turbopack/crates/turbopack-tests/tests/snapshot/node/node_protocol_external/output/b1abf_turbopack-tests_tests_snapshot_node_node_protocol_external_input_index_af4d59.js index 2281e02009c4b..d10a78a47fe73 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/node/node_protocol_external/output/b1abf_turbopack-tests_tests_snapshot_node_node_protocol_external_input_index_763243.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/node/node_protocol_external/output/b1abf_turbopack-tests_tests_snapshot_node_node_protocol_external_input_index_af4d59.js @@ -1,5 +1,5 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push([ - "output/b1abf_turbopack-tests_tests_snapshot_node_node_protocol_external_input_index_763243.js", + "output/b1abf_turbopack-tests_tests_snapshot_node_node_protocol_external_input_index_af4d59.js", {}, {"otherChunks":["output/b1abf_turbopack-tests_tests_snapshot_node_node_protocol_external_input_index_b66fe2.js"],"runtimeModuleIds":["[project]/turbopack/crates/turbopack-tests/tests/snapshot/node/node_protocol_external/input/index.js [test] (ecmascript)"]} ]); diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/node/node_protocol_external/output/b1abf_turbopack-tests_tests_snapshot_node_node_protocol_external_input_index_763243.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/node/node_protocol_external/output/b1abf_turbopack-tests_tests_snapshot_node_node_protocol_external_input_index_af4d59.js.map similarity index 100% rename from turbopack/crates/turbopack-tests/tests/snapshot/node/node_protocol_external/output/b1abf_turbopack-tests_tests_snapshot_node_node_protocol_external_input_index_763243.js.map rename to turbopack/crates/turbopack-tests/tests/snapshot/node/node_protocol_external/output/b1abf_turbopack-tests_tests_snapshot_node_node_protocol_external_input_index_af4d59.js.map diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/node/spawn_dynamic/output/4e721_crates_turbopack-tests_tests_snapshot_node_spawn_dynamic_input_index_870a27.js b/turbopack/crates/turbopack-tests/tests/snapshot/node/spawn_dynamic/output/4e721_crates_turbopack-tests_tests_snapshot_node_spawn_dynamic_input_index_b06e6d.js similarity index 91% rename from turbopack/crates/turbopack-tests/tests/snapshot/node/spawn_dynamic/output/4e721_crates_turbopack-tests_tests_snapshot_node_spawn_dynamic_input_index_870a27.js rename to turbopack/crates/turbopack-tests/tests/snapshot/node/spawn_dynamic/output/4e721_crates_turbopack-tests_tests_snapshot_node_spawn_dynamic_input_index_b06e6d.js index 01ce87f36539b..c26a7353467e5 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/node/spawn_dynamic/output/4e721_crates_turbopack-tests_tests_snapshot_node_spawn_dynamic_input_index_870a27.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/node/spawn_dynamic/output/4e721_crates_turbopack-tests_tests_snapshot_node_spawn_dynamic_input_index_b06e6d.js @@ -1,5 +1,5 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push([ - "output/4e721_crates_turbopack-tests_tests_snapshot_node_spawn_dynamic_input_index_870a27.js", + "output/4e721_crates_turbopack-tests_tests_snapshot_node_spawn_dynamic_input_index_b06e6d.js", {}, {"otherChunks":["output/turbopack_crates_turbopack-tests_tests_snapshot_node_spawn_dynamic_input_d33fdf._.js"],"runtimeModuleIds":["[project]/turbopack/crates/turbopack-tests/tests/snapshot/node/spawn_dynamic/input/index.js [test] (ecmascript)"]} ]); diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/node/spawn_dynamic/output/4e721_crates_turbopack-tests_tests_snapshot_node_spawn_dynamic_input_index_870a27.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/node/spawn_dynamic/output/4e721_crates_turbopack-tests_tests_snapshot_node_spawn_dynamic_input_index_b06e6d.js.map similarity index 100% rename from turbopack/crates/turbopack-tests/tests/snapshot/node/spawn_dynamic/output/4e721_crates_turbopack-tests_tests_snapshot_node_spawn_dynamic_input_index_870a27.js.map rename to turbopack/crates/turbopack-tests/tests/snapshot/node/spawn_dynamic/output/4e721_crates_turbopack-tests_tests_snapshot_node_spawn_dynamic_input_index_b06e6d.js.map diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/node/spawn_node_eval/output/4e721_crates_turbopack-tests_tests_snapshot_node_spawn_node_eval_input_index_f0344c.js b/turbopack/crates/turbopack-tests/tests/snapshot/node/spawn_node_eval/output/4e721_crates_turbopack-tests_tests_snapshot_node_spawn_node_eval_input_index_42a3e6.js similarity index 91% rename from turbopack/crates/turbopack-tests/tests/snapshot/node/spawn_node_eval/output/4e721_crates_turbopack-tests_tests_snapshot_node_spawn_node_eval_input_index_f0344c.js rename to turbopack/crates/turbopack-tests/tests/snapshot/node/spawn_node_eval/output/4e721_crates_turbopack-tests_tests_snapshot_node_spawn_node_eval_input_index_42a3e6.js index 9ff2ca6ae1868..8ab29aca77cbf 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/node/spawn_node_eval/output/4e721_crates_turbopack-tests_tests_snapshot_node_spawn_node_eval_input_index_f0344c.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/node/spawn_node_eval/output/4e721_crates_turbopack-tests_tests_snapshot_node_spawn_node_eval_input_index_42a3e6.js @@ -1,5 +1,5 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push([ - "output/4e721_crates_turbopack-tests_tests_snapshot_node_spawn_node_eval_input_index_f0344c.js", + "output/4e721_crates_turbopack-tests_tests_snapshot_node_spawn_node_eval_input_index_42a3e6.js", {}, {"otherChunks":["output/4e721_crates_turbopack-tests_tests_snapshot_node_spawn_node_eval_input_bf21d1._.js"],"runtimeModuleIds":["[project]/turbopack/crates/turbopack-tests/tests/snapshot/node/spawn_node_eval/input/index.js [test] (ecmascript)"]} ]); diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/node/spawn_node_eval/output/4e721_crates_turbopack-tests_tests_snapshot_node_spawn_node_eval_input_index_f0344c.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/node/spawn_node_eval/output/4e721_crates_turbopack-tests_tests_snapshot_node_spawn_node_eval_input_index_42a3e6.js.map similarity index 100% rename from turbopack/crates/turbopack-tests/tests/snapshot/node/spawn_node_eval/output/4e721_crates_turbopack-tests_tests_snapshot_node_spawn_node_eval_input_index_f0344c.js.map rename to turbopack/crates/turbopack-tests/tests/snapshot/node/spawn_node_eval/output/4e721_crates_turbopack-tests_tests_snapshot_node_spawn_node_eval_input_index_42a3e6.js.map diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/runtime/default_build_runtime/output/[turbopack]_runtime.js b/turbopack/crates/turbopack-tests/tests/snapshot/runtime/default_build_runtime/output/[turbopack]_runtime.js index 16d450f5542ea..1f5702d311963 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/runtime/default_build_runtime/output/[turbopack]_runtime.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/runtime/default_build_runtime/output/[turbopack]_runtime.js @@ -1,5 +1,5 @@ const RUNTIME_PUBLIC_PATH = "output/[turbopack]_runtime.js"; -const OUTPUT_ROOT = "turbopack/crates/turbopack-tests/tests/snapshot/runtime/default_build_runtime"; +const RELATIVE_ROOT_PATH = "../../../../../../.."; const ASSET_PREFIX = "/"; /** * This file contains runtime types and functions that are shared between all @@ -378,7 +378,7 @@ externalRequire.resolve = (id, options)=>{ /* eslint-disable @typescript-eslint/no-unused-vars */ const path = require("path"); const relativePathToRuntimeRoot = path.relative(RUNTIME_PUBLIC_PATH, "."); // Compute the relative path to the `distDir`. -const relativePathToDistRoot = path.relative(path.join(OUTPUT_ROOT, RUNTIME_PUBLIC_PATH), "."); +const relativePathToDistRoot = path.join(relativePathToRuntimeRoot, RELATIVE_ROOT_PATH); const RUNTIME_ROOT = path.resolve(__filename, relativePathToRuntimeRoot); // Compute the absolute path to the root, by stripping distDir from the absolute path to this file. const ABSOLUTE_ROOT = path.resolve(__filename, relativePathToDistRoot); @@ -454,7 +454,7 @@ const moduleCache = Object.create(null); return exported; } const strippedAssetPrefix = exportedPath.slice(ASSET_PREFIX.length); - const resolved = path.resolve(ABSOLUTE_ROOT, OUTPUT_ROOT, strippedAssetPrefix); + const resolved = path.resolve(RUNTIME_ROOT, strippedAssetPrefix); return url.pathToFileURL(resolved).href; }; } @@ -671,4 +671,4 @@ function getOrInstantiateRuntimeModule(moduleId, chunkPath) { module.exports = { getOrInstantiateRuntimeModule, loadChunk -}; \ No newline at end of file +}; diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/runtime/default_build_runtime/output/[turbopack]_runtime.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/runtime/default_build_runtime/output/[turbopack]_runtime.js.map index 420e02c536d4a..5c4a524e0eb87 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/runtime/default_build_runtime/output/[turbopack]_runtime.js.map +++ b/turbopack/crates/turbopack-tests/tests/snapshot/runtime/default_build_runtime/output/[turbopack]_runtime.js.map @@ -4,7 +4,7 @@ "sections": [ {"offset": {"line": 3, "column": 0}, "map": {"version":3,"sources":["turbopack://[turbopack]/shared/runtime-utils.ts"],"sourcesContent":["/**\n * This file contains runtime types and functions that are shared between all\n * TurboPack ECMAScript runtimes.\n *\n * It will be prepended to the runtime code of each runtime.\n */\n\n/* eslint-disable @typescript-eslint/no-unused-vars */\n\n/// \n\ntype EsmNamespaceObject = Record;\n\n// @ts-ignore Defined in `dev-base.ts`\ndeclare function getOrInstantiateModuleFromParent(\n id: ModuleId,\n sourceModule: M\n): M;\n\nconst REEXPORTED_OBJECTS = Symbol(\"reexported objects\");\n\ntype ModuleContextMap = Record;\n\ninterface ModuleContextEntry {\n id: () => ModuleId;\n module: () => any;\n}\n\ninterface ModuleContext {\n // require call\n (moduleId: ModuleId): Exports | EsmNamespaceObject;\n\n // async import call\n import(moduleId: ModuleId): Promise;\n\n keys(): ModuleId[];\n\n resolve(moduleId: ModuleId): ModuleId;\n}\n\ntype GetOrInstantiateModuleFromParent = (\n moduleId: ModuleId,\n parentModule: M\n) => M;\n\ndeclare function getOrInstantiateRuntimeModule(moduleId: ModuleId, chunkPath: ChunkPath): Module;\n\nconst hasOwnProperty = Object.prototype.hasOwnProperty;\nconst toStringTag = typeof Symbol !== \"undefined\" && Symbol.toStringTag;\n\nfunction defineProp(\n obj: any,\n name: PropertyKey,\n options: PropertyDescriptor & ThisType\n) {\n if (!hasOwnProperty.call(obj, name))\n Object.defineProperty(obj, name, options);\n}\n\n/**\n * Adds the getters to the exports object.\n */\nfunction esm(\n exports: Exports,\n getters: Record any) | [() => any, (v: any) => void]>\n) {\n defineProp(exports, \"__esModule\", { value: true });\n if (toStringTag) defineProp(exports, toStringTag, { value: \"Module\" });\n for (const key in getters) {\n const item = getters[key];\n if (Array.isArray(item)) {\n defineProp(exports, key, {\n get: item[0],\n set: item[1],\n enumerable: true,\n });\n } else {\n defineProp(exports, key, { get: item, enumerable: true });\n }\n }\n Object.seal(exports);\n}\n\n/**\n * Makes the module an ESM with exports\n */\nfunction esmExport(\n module: Module,\n exports: Exports,\n getters: Record any>\n) {\n module.namespaceObject = module.exports;\n esm(exports, getters);\n}\n\nfunction ensureDynamicExports(module: Module, exports: Exports) {\n let reexportedObjects = module[REEXPORTED_OBJECTS];\n\n if (!reexportedObjects) {\n reexportedObjects = module[REEXPORTED_OBJECTS] = [];\n module.exports = module.namespaceObject = new Proxy(exports, {\n get(target, prop) {\n if (\n hasOwnProperty.call(target, prop) ||\n prop === \"default\" ||\n prop === \"__esModule\"\n ) {\n return Reflect.get(target, prop);\n }\n for (const obj of reexportedObjects!) {\n const value = Reflect.get(obj, prop);\n if (value !== undefined) return value;\n }\n return undefined;\n },\n ownKeys(target) {\n const keys = Reflect.ownKeys(target);\n for (const obj of reexportedObjects!) {\n for (const key of Reflect.ownKeys(obj)) {\n if (key !== \"default\" && !keys.includes(key)) keys.push(key);\n }\n }\n return keys;\n },\n });\n }\n}\n\n/**\n * Dynamically exports properties from an object\n */\nfunction dynamicExport(\n module: Module,\n exports: Exports,\n object: Record\n) {\n ensureDynamicExports(module, exports);\n\n if (typeof object === \"object\" && object !== null) {\n module[REEXPORTED_OBJECTS]!.push(object);\n }\n}\n\nfunction exportValue(module: Module, value: any) {\n module.exports = value;\n}\n\nfunction exportNamespace(module: Module, namespace: any) {\n module.exports = module.namespaceObject = namespace;\n}\n\nfunction createGetter(obj: Record, key: string | symbol) {\n return () => obj[key];\n}\n\n/**\n * @returns prototype of the object\n */\nconst getProto: (obj: any) => any = Object.getPrototypeOf\n ? (obj) => Object.getPrototypeOf(obj)\n : (obj) => obj.__proto__;\n\n/** Prototypes that are not expanded for exports */\nconst LEAF_PROTOTYPES = [null, getProto({}), getProto([]), getProto(getProto)];\n\n/**\n * @param raw\n * @param ns\n * @param allowExportDefault\n * * `false`: will have the raw module as default export\n * * `true`: will have the default property as default export\n */\nfunction interopEsm(\n raw: Exports,\n ns: EsmNamespaceObject,\n allowExportDefault?: boolean\n) {\n const getters: { [s: string]: () => any } = Object.create(null);\n for (\n let current = raw;\n (typeof current === \"object\" || typeof current === \"function\") &&\n !LEAF_PROTOTYPES.includes(current);\n current = getProto(current)\n ) {\n for (const key of Object.getOwnPropertyNames(current)) {\n getters[key] = createGetter(raw, key);\n }\n }\n\n // this is not really correct\n // we should set the `default` getter if the imported module is a `.cjs file`\n if (!(allowExportDefault && \"default\" in getters)) {\n getters[\"default\"] = () => raw;\n }\n\n esm(ns, getters);\n return ns;\n}\n\nfunction createNS(raw: Module[\"exports\"]): EsmNamespaceObject {\n if (typeof raw === \"function\") {\n return function (this: any, ...args: any[]) {\n return raw.apply(this, args);\n };\n } else {\n return Object.create(null);\n }\n}\n\nfunction esmImport(\n sourceModule: Module,\n id: ModuleId\n): Exclude {\n const module = getOrInstantiateModuleFromParent(id, sourceModule);\n if (module.error) throw module.error;\n\n // any ES module has to have `module.namespaceObject` defined.\n if (module.namespaceObject) return module.namespaceObject;\n\n // only ESM can be an async module, so we don't need to worry about exports being a promise here.\n const raw = module.exports;\n return (module.namespaceObject = interopEsm(\n raw,\n createNS(raw),\n raw && (raw as any).__esModule\n ));\n}\n\n// Add a simple runtime require so that environments without one can still pass\n// `typeof require` CommonJS checks so that exports are correctly registered.\nconst runtimeRequire =\n // @ts-ignore\n typeof require === \"function\"\n // @ts-ignore\n ? require\n : function require() {\n throw new Error(\"Unexpected use of runtime require\");\n };\n\nfunction commonJsRequire(sourceModule: Module, id: ModuleId): Exports {\n const module = getOrInstantiateModuleFromParent(id, sourceModule);\n if (module.error) throw module.error;\n return module.exports;\n}\n\n/**\n * `require.context` and require/import expression runtime.\n */\nfunction moduleContext(map: ModuleContextMap): ModuleContext {\n function moduleContext(id: ModuleId): Exports {\n if (hasOwnProperty.call(map, id)) {\n return map[id].module();\n }\n\n const e = new Error(`Cannot find module '${id}'`);\n (e as any).code = \"MODULE_NOT_FOUND\";\n throw e;\n }\n\n moduleContext.keys = (): ModuleId[] => {\n return Object.keys(map);\n };\n\n moduleContext.resolve = (id: ModuleId): ModuleId => {\n if (hasOwnProperty.call(map, id)) {\n return map[id].id();\n }\n\n const e = new Error(`Cannot find module '${id}'`);\n (e as any).code = \"MODULE_NOT_FOUND\";\n throw e;\n };\n\n moduleContext.import = async (id: ModuleId) => {\n return await (moduleContext(id) as Promise);\n };\n\n return moduleContext;\n}\n\n/**\n * Returns the path of a chunk defined by its data.\n */\nfunction getChunkPath(chunkData: ChunkData): ChunkPath {\n return typeof chunkData === \"string\" ? chunkData : chunkData.path;\n}\n\nfunction isPromise(maybePromise: any): maybePromise is Promise {\n return (\n maybePromise != null &&\n typeof maybePromise === \"object\" &&\n \"then\" in maybePromise &&\n typeof maybePromise.then === \"function\"\n );\n}\n\nfunction isAsyncModuleExt(obj: T): obj is AsyncModuleExt & T {\n return turbopackQueues in obj;\n}\n\nfunction createPromise() {\n let resolve: (value: T | PromiseLike) => void;\n let reject: (reason?: any) => void;\n\n const promise = new Promise((res, rej) => {\n reject = rej;\n resolve = res;\n });\n\n return {\n promise,\n resolve: resolve!,\n reject: reject!,\n };\n}\n\n// everything below is adapted from webpack\n// https://github.com/webpack/webpack/blob/6be4065ade1e252c1d8dcba4af0f43e32af1bdc1/lib/runtime/AsyncModuleRuntimeModule.js#L13\n\nconst turbopackQueues = Symbol(\"turbopack queues\");\nconst turbopackExports = Symbol(\"turbopack exports\");\nconst turbopackError = Symbol(\"turbopack error\");\n\nconst enum QueueStatus {\n Unknown = -1,\n Unresolved = 0,\n Resolved = 1,\n}\n\ntype AsyncQueueFn = (() => void) & { queueCount: number };\ntype AsyncQueue = AsyncQueueFn[] & {\n status: QueueStatus;\n};\n\nfunction resolveQueue(queue?: AsyncQueue) {\n if (queue && queue.status !== QueueStatus.Resolved) {\n queue.status = QueueStatus.Resolved;\n queue.forEach((fn) => fn.queueCount--);\n queue.forEach((fn) => (fn.queueCount-- ? fn.queueCount++ : fn()));\n }\n}\n\ntype Dep = Exports | AsyncModulePromise | Promise;\n\ntype AsyncModuleExt = {\n [turbopackQueues]: (fn: (queue: AsyncQueue) => void) => void;\n [turbopackExports]: Exports;\n [turbopackError]?: any;\n};\n\ntype AsyncModulePromise = Promise & AsyncModuleExt;\n\nfunction wrapDeps(deps: Dep[]): AsyncModuleExt[] {\n return deps.map((dep): AsyncModuleExt => {\n if (dep !== null && typeof dep === \"object\") {\n if (isAsyncModuleExt(dep)) return dep;\n if (isPromise(dep)) {\n const queue: AsyncQueue = Object.assign([], {\n status: QueueStatus.Unresolved,\n });\n\n const obj: AsyncModuleExt = {\n [turbopackExports]: {},\n [turbopackQueues]: (fn: (queue: AsyncQueue) => void) => fn(queue),\n };\n\n dep.then(\n (res) => {\n obj[turbopackExports] = res;\n resolveQueue(queue);\n },\n (err) => {\n obj[turbopackError] = err;\n resolveQueue(queue);\n }\n );\n\n return obj;\n }\n }\n\n return {\n [turbopackExports]: dep,\n [turbopackQueues]: () => {},\n };\n });\n}\n\nfunction asyncModule(\n module: Module,\n body: (\n handleAsyncDependencies: (\n deps: Dep[]\n ) => Exports[] | Promise<() => Exports[]>,\n asyncResult: (err?: any) => void\n ) => void,\n hasAwait: boolean\n) {\n const queue: AsyncQueue | undefined = hasAwait\n ? Object.assign([], { status: QueueStatus.Unknown })\n : undefined;\n\n const depQueues: Set = new Set();\n\n const { resolve, reject, promise: rawPromise } = createPromise();\n\n const promise: AsyncModulePromise = Object.assign(rawPromise, {\n [turbopackExports]: module.exports,\n [turbopackQueues]: (fn) => {\n queue && fn(queue);\n depQueues.forEach(fn);\n promise[\"catch\"](() => {});\n },\n } satisfies AsyncModuleExt);\n\n const attributes: PropertyDescriptor = {\n get(): any {\n return promise;\n },\n set(v: any) {\n // Calling `esmExport` leads to this.\n if (v !== promise) {\n promise[turbopackExports] = v;\n }\n },\n };\n\n Object.defineProperty(module, \"exports\", attributes);\n Object.defineProperty(module, \"namespaceObject\", attributes);\n\n function handleAsyncDependencies(deps: Dep[]) {\n const currentDeps = wrapDeps(deps);\n\n const getResult = () =>\n currentDeps.map((d) => {\n if (d[turbopackError]) throw d[turbopackError];\n return d[turbopackExports];\n });\n\n const { promise, resolve } = createPromise<() => Exports[]>();\n\n const fn: AsyncQueueFn = Object.assign(() => resolve(getResult), {\n queueCount: 0,\n });\n\n function fnQueue(q: AsyncQueue) {\n if (q !== queue && !depQueues.has(q)) {\n depQueues.add(q);\n if (q && q.status === QueueStatus.Unresolved) {\n fn.queueCount++;\n q.push(fn);\n }\n }\n }\n\n currentDeps.map((dep) => dep[turbopackQueues](fnQueue));\n\n return fn.queueCount ? promise : getResult();\n }\n\n function asyncResult(err?: any) {\n if (err) {\n reject((promise[turbopackError] = err));\n } else {\n resolve(promise[turbopackExports]);\n }\n\n resolveQueue(queue);\n }\n\n body(handleAsyncDependencies, asyncResult);\n\n if (queue && queue.status === QueueStatus.Unknown) {\n queue.status = QueueStatus.Unresolved;\n }\n}\n\n/**\n * A pseudo \"fake\" URL object to resolve to its relative path.\n *\n * When UrlRewriteBehavior is set to relative, calls to the `new URL()` will construct url without base using this\n * runtime function to generate context-agnostic urls between different rendering context, i.e ssr / client to avoid\n * hydration mismatch.\n *\n * This is based on webpack's existing implementation:\n * https://github.com/webpack/webpack/blob/87660921808566ef3b8796f8df61bd79fc026108/lib/runtime/RelativeUrlRuntimeModule.js\n */\nconst relativeURL = function relativeURL(this: any, inputUrl: string) {\n const realUrl = new URL(inputUrl, \"x:/\");\n const values: Record = {};\n for (const key in realUrl) values[key] = (realUrl as any)[key];\n values.href = inputUrl;\n values.pathname = inputUrl.replace(/[?#].*/, \"\");\n values.origin = values.protocol = \"\";\n values.toString = values.toJSON = (..._args: Array) => inputUrl;\n for (const key in values)\n Object.defineProperty(this, key, {\n enumerable: true,\n configurable: true,\n value: values[key],\n });\n};\n\nrelativeURL.prototype = URL.prototype;\n\n/**\n * Utility function to ensure all variants of an enum are handled.\n */\nfunction invariant(never: never, computeMessage: (arg: any) => string): never {\n throw new Error(`Invariant: ${computeMessage(never)}`);\n}\n\n/**\n * A stub function to make `require` available but non-functional in ESM.\n */\nfunction requireStub(_moduleId: ModuleId): never {\n throw new Error(\"dynamic usage of require is not supported\");\n}\n"],"names":[],"mappings":"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","ignoreList":[0]}}, {"offset": {"line": 338, "column": 0}, "map": {"version":3,"sources":["turbopack://[turbopack]/shared-node/base-externals-utils.ts"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-unused-vars */\n\n/// \n\n/// A 'base' utilities to support runtime can have externals.\n/// Currently this is for node.js / edge runtime both.\n/// If a fn requires node.js specific behavior, it should be placed in `node-external-utils` instead.\n\nasync function externalImport(id: ModuleId) {\n let raw\n try {\n raw = await import(id)\n } catch (err) {\n // TODO(alexkirsz) This can happen when a client-side module tries to load\n // an external module we don't provide a shim for (e.g. querystring, url).\n // For now, we fail semi-silently, but in the future this should be a\n // compilation error.\n throw new Error(`Failed to load external module ${id}: ${err}`)\n }\n\n if (raw && raw.__esModule && raw.default && 'default' in raw.default) {\n return interopEsm(raw.default, createNS(raw), true)\n }\n\n return raw\n}\n\nfunction externalRequire(\n id: ModuleId,\n thunk: () => any,\n esm: boolean = false\n): Exports | EsmNamespaceObject {\n let raw\n try {\n raw = thunk()\n } catch (err) {\n // TODO(alexkirsz) This can happen when a client-side module tries to load\n // an external module we don't provide a shim for (e.g. querystring, url).\n // For now, we fail semi-silently, but in the future this should be a\n // compilation error.\n throw new Error(`Failed to load external module ${id}: ${err}`)\n }\n\n if (!esm || raw.__esModule) {\n return raw\n }\n\n return interopEsm(raw, createNS(raw), true)\n}\n\nexternalRequire.resolve = (\n id: string,\n options?: {\n paths?: string[]\n }\n) => {\n return require.resolve(id, options)\n}\n"],"names":[],"mappings":"AAAA,oDAAoD,GAEpD,mDAAmD;AAEnD,6DAA6D;AAC7D,sDAAsD;AACtD,qGAAqG;AAErG,eAAe,eAAe,EAAY;IACxC,IAAI;IACJ,IAAI;QACF,MAAM,MAAM,MAAM,CAAC;IACrB,EAAE,OAAO,KAAK;QACZ,0EAA0E;QAC1E,0EAA0E;QAC1E,qEAAqE;QACrE,qBAAqB;QACrB,MAAM,IAAI,MAAM,CAAC,+BAA+B,EAAE,GAAG,EAAE,EAAE,KAAK;IAChE;IAEA,IAAI,OAAO,IAAI,UAAU,IAAI,IAAI,OAAO,IAAI,aAAa,IAAI,OAAO,EAAE;QACpE,OAAO,WAAW,IAAI,OAAO,EAAE,SAAS,MAAM;IAChD;IAEA,OAAO;AACT;AAEA,SAAS,gBACP,EAAY,EACZ,KAAgB,EAChB,MAAe,KAAK;IAEpB,IAAI;IACJ,IAAI;QACF,MAAM;IACR,EAAE,OAAO,KAAK;QACZ,0EAA0E;QAC1E,0EAA0E;QAC1E,qEAAqE;QACrE,qBAAqB;QACrB,MAAM,IAAI,MAAM,CAAC,+BAA+B,EAAE,GAAG,EAAE,EAAE,KAAK;IAChE;IAEA,IAAI,CAAC,OAAO,IAAI,UAAU,EAAE;QAC1B,OAAO;IACT;IAEA,OAAO,WAAW,KAAK,SAAS,MAAM;AACxC;AAEA,gBAAgB,OAAO,GAAG,CACxB,IACA;IAIA,OAAO,QAAQ,OAAO,CAAC,IAAI;AAC7B","ignoreList":[0]}}, - {"offset": {"line": 377, "column": 0}, "map": {"version":3,"sources":["turbopack://[turbopack]/shared-node/node-externals-utils.ts"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-unused-vars */\n\ndeclare var RUNTIME_PUBLIC_PATH: string;\ndeclare var OUTPUT_ROOT: string;\ndeclare var ASSET_PREFIX: string;\n\nconst path = require(\"path\");\n\nconst relativePathToRuntimeRoot = path.relative(RUNTIME_PUBLIC_PATH, \".\");\n// Compute the relative path to the `distDir`.\nconst relativePathToDistRoot = path.relative(\n path.join(OUTPUT_ROOT, RUNTIME_PUBLIC_PATH),\n \".\"\n);\nconst RUNTIME_ROOT = path.resolve(__filename, relativePathToRuntimeRoot);\n// Compute the absolute path to the root, by stripping distDir from the absolute path to this file.\nconst ABSOLUTE_ROOT = path.resolve(__filename, relativePathToDistRoot);\n\n/**\n * Returns an absolute path to the given module path.\n * Module path should be relative, either path to a file or a directory.\n *\n * This fn allows to calculate an absolute path for some global static values, such as\n * `__dirname` or `import.meta.url` that Turbopack will not embeds in compile time.\n * See ImportMetaBinding::code_generation for the usage.\n */\nfunction resolveAbsolutePath(modulePath?: string): string {\n if (modulePath) {\n return path.join(ABSOLUTE_ROOT, modulePath);\n }\n return ABSOLUTE_ROOT;\n}\n"],"names":[],"mappings":"AAAA,oDAAoD,GAMpD,MAAM,OAAO,QAAQ;AAErB,MAAM,4BAA4B,KAAK,QAAQ,CAAC,qBAAqB;AACrE,8CAA8C;AAC9C,MAAM,yBAAyB,KAAK,QAAQ,CAC1C,KAAK,IAAI,CAAC,aAAa,sBACvB;AAEF,MAAM,eAAe,KAAK,OAAO,CAAC,YAAY;AAC9C,mGAAmG;AACnG,MAAM,gBAAgB,KAAK,OAAO,CAAC,YAAY;AAE/C;;;;;;;CAOC,GACD,SAAS,oBAAoB,UAAmB;IAC9C,IAAI,YAAY;QACd,OAAO,KAAK,IAAI,CAAC,eAAe;IAClC;IACA,OAAO;AACT","ignoreList":[0]}}, + {"offset": {"line": 377, "column": 0}, "map": {"version":3,"sources":["turbopack://[turbopack]/shared-node/node-externals-utils.ts"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-unused-vars */\n\ndeclare var RUNTIME_PUBLIC_PATH: string;\ndeclare var RELATIVE_ROOT_PATH: string;\ndeclare var ASSET_PREFIX: string;\n\nconst path = require(\"path\");\n\nconst relativePathToRuntimeRoot = path.relative(RUNTIME_PUBLIC_PATH, \".\");\n// Compute the relative path to the `distDir`.\nconst relativePathToDistRoot = path.join(\n relativePathToRuntimeRoot,\n RELATIVE_ROOT_PATH\n);\nconst RUNTIME_ROOT = path.resolve(__filename, relativePathToRuntimeRoot);\n// Compute the absolute path to the root, by stripping distDir from the absolute path to this file.\nconst ABSOLUTE_ROOT = path.resolve(__filename, relativePathToDistRoot);\n\n/**\n * Returns an absolute path to the given module path.\n * Module path should be relative, either path to a file or a directory.\n *\n * This fn allows to calculate an absolute path for some global static values, such as\n * `__dirname` or `import.meta.url` that Turbopack will not embeds in compile time.\n * See ImportMetaBinding::code_generation for the usage.\n */\nfunction resolveAbsolutePath(modulePath?: string): string {\n if (modulePath) {\n return path.join(ABSOLUTE_ROOT, modulePath);\n }\n return ABSOLUTE_ROOT;\n}\n"],"names":[],"mappings":"AAAA,oDAAoD,GAMpD,MAAM,OAAO,QAAQ;AAErB,MAAM,4BAA4B,KAAK,QAAQ,CAAC,qBAAqB;AACrE,8CAA8C;AAC9C,MAAM,yBAAyB,KAAK,IAAI,CACtC,2BACA;AAEF,MAAM,eAAe,KAAK,OAAO,CAAC,YAAY;AAC9C,mGAAmG;AACnG,MAAM,gBAAgB,KAAK,OAAO,CAAC,YAAY;AAE/C;;;;;;;CAOC,GACD,SAAS,oBAAoB,UAAmB;IAC9C,IAAI,YAAY;QACd,OAAO,KAAK,IAAI,CAAC,eAAe;IAClC;IACA,OAAO;AACT","ignoreList":[0]}}, {"offset": {"line": 397, "column": 0}, "map": {"version":3,"sources":["turbopack://[turbopack]/shared-node/node-wasm-utils.ts"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-unused-vars */\n\n/// \n\nfunction readWebAssemblyAsResponse(path: string) {\n const { createReadStream } = require(\"fs\") as typeof import(\"fs\");\n const { Readable } = require(\"stream\") as typeof import(\"stream\");\n\n const stream = createReadStream(path);\n\n // @ts-ignore unfortunately there's a slight type mismatch with the stream.\n return new Response(Readable.toWeb(stream), {\n headers: {\n \"content-type\": \"application/wasm\",\n },\n });\n}\n\nasync function compileWebAssemblyFromPath(\n path: string\n): Promise {\n const response = readWebAssemblyAsResponse(path);\n\n return await WebAssembly.compileStreaming(response);\n}\n\nasync function instantiateWebAssemblyFromPath(\n path: string,\n importsObj: WebAssembly.Imports\n): Promise {\n const response = readWebAssemblyAsResponse(path);\n\n const { instance } = await WebAssembly.instantiateStreaming(\n response,\n importsObj\n );\n\n return instance.exports;\n}\n"],"names":[],"mappings":"AAAA,oDAAoD,GAEpD,mDAAmD;AAEnD,SAAS,0BAA0B,IAAY;IAC7C,MAAM,EAAE,gBAAgB,EAAE,GAAG,QAAQ;IACrC,MAAM,EAAE,QAAQ,EAAE,GAAG,QAAQ;IAE7B,MAAM,SAAS,iBAAiB;IAEhC,2EAA2E;IAC3E,OAAO,IAAI,SAAS,SAAS,KAAK,CAAC,SAAS;QAC1C,SAAS;YACP,gBAAgB;QAClB;IACF;AACF;AAEA,eAAe,2BACb,IAAY;IAEZ,MAAM,WAAW,0BAA0B;IAE3C,OAAO,MAAM,YAAY,gBAAgB,CAAC;AAC5C;AAEA,eAAe,+BACb,IAAY,EACZ,UAA+B;IAE/B,MAAM,WAAW,0BAA0B;IAE3C,MAAM,EAAE,QAAQ,EAAE,GAAG,MAAM,YAAY,oBAAoB,CACzD,UACA;IAGF,OAAO,SAAS,OAAO;AACzB","ignoreList":[0]}}, - {"offset": {"line": 418, "column": 0}, "map": {"version":3,"sources":["turbopack://[turbopack]/nodejs/runtime.ts"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-unused-vars */\n\n/// \n/// \n/// \n/// \n\nenum SourceType {\n /**\n * The module was instantiated because it was included in an evaluated chunk's\n * runtime.\n */\n Runtime = 0,\n /**\n * The module was instantiated because a parent module imported it.\n */\n Parent = 1,\n}\n\ntype SourceInfo =\n | {\n type: SourceType.Runtime;\n chunkPath: ChunkPath;\n }\n | {\n type: SourceType.Parent;\n parentId: ModuleId;\n };\n\nfunction stringifySourceInfo(source: SourceInfo): string {\n switch (source.type) {\n case SourceType.Runtime:\n return `runtime for chunk ${source.chunkPath}`;\n case SourceType.Parent:\n return `parent module ${source.parentId}`;\n default:\n invariant(source, (source) => `Unknown source type: ${source?.type}`);\n }\n}\n\ntype ExternalRequire = (\n id: ModuleId,\n thunk: () => any,\n esm?: boolean\n) => Exports | EsmNamespaceObject;\ntype ExternalImport = (id: ModuleId) => Promise;\n\ninterface TurbopackNodeBuildContext extends TurbopackBaseContext {\n R: ResolvePathFromModule;\n x: ExternalRequire;\n y: ExternalImport;\n}\n\ntype ModuleFactory = (\n this: Module[\"exports\"],\n context: TurbopackNodeBuildContext\n) => undefined;\n\nconst url = require(\"url\") as typeof import('url');\nconst fs = require(\"fs/promises\") as typeof import('fs/promises');\n\nconst moduleFactories: ModuleFactories = Object.create(null);\nconst moduleCache: ModuleCache = Object.create(null);\n\n/**\n * Returns an absolute path to the given module's id.\n */\nfunction createResolvePathFromModule(\n resolver: (moduleId: string) => Exports\n): (moduleId: string) => string {\n return function resolvePathFromModule(moduleId: string): string {\n const exported = resolver(moduleId);\n const exportedPath = exported?.default ?? exported;\n if (typeof exportedPath !== \"string\") {\n return exported as any;\n }\n\n const strippedAssetPrefix = exportedPath.slice(ASSET_PREFIX.length);\n const resolved = path.resolve(\n ABSOLUTE_ROOT,\n OUTPUT_ROOT,\n strippedAssetPrefix\n );\n\n return url.pathToFileURL(resolved).href;\n };\n}\n\nfunction loadChunk(chunkData: ChunkData, source?: SourceInfo): void {\n if (typeof chunkData === \"string\") {\n return loadChunkPath(chunkData, source);\n } else {\n return loadChunkPath(chunkData.path, source);\n }\n}\n\nfunction loadChunkPath(chunkPath: ChunkPath, source?: SourceInfo): void {\n if (!chunkPath.endsWith(\".js\")) {\n // We only support loading JS chunks in Node.js.\n // This branch can be hit when trying to load a CSS chunk.\n return;\n }\n\n try {\n const resolved = path.resolve(RUNTIME_ROOT, chunkPath);\n const chunkModules: ModuleFactories = require(resolved);\n\n for (const [moduleId, moduleFactory] of Object.entries(chunkModules)) {\n if (!moduleFactories[moduleId]) {\n moduleFactories[moduleId] = moduleFactory;\n }\n }\n } catch (e) {\n let errorMessage = `Failed to load chunk ${chunkPath}`;\n\n if (source) {\n errorMessage += ` from ${stringifySourceInfo(source)}`;\n }\n\n throw new Error(errorMessage, {\n cause: e,\n });\n }\n}\n\nasync function loadChunkAsync(\n source: SourceInfo,\n chunkData: ChunkData\n): Promise {\n const chunkPath = typeof chunkData === \"string\" ? chunkData : chunkData.path;\n if (!chunkPath.endsWith(\".js\")) {\n // We only support loading JS chunks in Node.js.\n // This branch can be hit when trying to load a CSS chunk.\n return;\n }\n\n const resolved = path.resolve(RUNTIME_ROOT, chunkPath);\n\n try {\n const contents = await fs.readFile(resolved, \"utf-8\");\n\n const localRequire = (id: string) => {\n let resolvedId = require.resolve(id, {paths: [path.dirname(resolved)]});\n return require(resolvedId);\n }\n const module = {\n exports: {},\n };\n // TODO: Use vm.runInThisContext once our minimal supported Node.js version includes https://github.com/nodejs/node/pull/52153\n // eslint-disable-next-line no-eval -- Can't use vm.runInThisContext due to https://github.com/nodejs/node/issues/52102\n (0, eval)(\n \"(function(module, exports, require, __dirname, __filename) {\" +\n contents +\n \"\\n})\" +\n \"\\n//# sourceURL=\" + url.pathToFileURL(resolved),\n )(module, module.exports, localRequire, path.dirname(resolved), resolved);\n\n const chunkModules: ModuleFactories = module.exports;\n for (const [moduleId, moduleFactory] of Object.entries(chunkModules)) {\n if (!moduleFactories[moduleId]) {\n moduleFactories[moduleId] = moduleFactory;\n }\n }\n } catch (e) {\n let errorMessage = `Failed to load chunk ${chunkPath}`;\n\n if (source) {\n errorMessage += ` from ${stringifySourceInfo(source)}`;\n }\n\n throw new Error(errorMessage, {\n cause: e,\n });\n }\n}\n\nfunction loadWebAssembly(chunkPath: ChunkPath, imports: WebAssembly.Imports) {\n const resolved = path.resolve(RUNTIME_ROOT, chunkPath);\n\n return instantiateWebAssemblyFromPath(resolved, imports);\n}\n\nfunction loadWebAssemblyModule(chunkPath: ChunkPath) {\n const resolved = path.resolve(RUNTIME_ROOT, chunkPath);\n\n return compileWebAssemblyFromPath(resolved);\n}\n\nfunction getWorkerBlobURL(_chunks: ChunkPath[]): string {\n throw new Error(\"Worker blobs are not implemented yet for Node.js\");\n}\n\nfunction instantiateModule(id: ModuleId, source: SourceInfo): ModuleWithDirection {\n const moduleFactory = moduleFactories[id];\n if (typeof moduleFactory !== \"function\") {\n // This can happen if modules incorrectly handle HMR disposes/updates,\n // e.g. when they keep a `setTimeout` around which still executes old code\n // and contains e.g. a `require(\"something\")` call.\n let instantiationReason;\n switch (source.type) {\n case SourceType.Runtime:\n instantiationReason = `as a runtime entry of chunk ${source.chunkPath}`;\n break;\n case SourceType.Parent:\n instantiationReason = `because it was required from module ${source.parentId}`;\n break;\n default:\n invariant(source, (source) => `Unknown source type: ${source?.type}`);\n }\n throw new Error(\n `Module ${id} was instantiated ${instantiationReason}, but the module factory is not available. It might have been deleted in an HMR update.`\n );\n }\n\n let parents: ModuleId[];\n switch (source.type) {\n case SourceType.Runtime:\n parents = [];\n break;\n case SourceType.Parent:\n // No need to add this module as a child of the parent module here, this\n // has already been taken care of in `getOrInstantiateModuleFromParent`.\n parents = [source.parentId];\n break;\n default:\n invariant(source, (source) => `Unknown source type: ${source?.type}`);\n }\n\n const module: ModuleWithDirection = {\n exports: {},\n error: undefined,\n loaded: false,\n id,\n parents,\n children: [],\n namespaceObject: undefined,\n };\n moduleCache[id] = module;\n\n // NOTE(alexkirsz) This can fail when the module encounters a runtime error.\n try {\n const r = commonJsRequire.bind(null, module);\n moduleFactory.call(module.exports, {\n a: asyncModule.bind(null, module),\n e: module.exports,\n r,\n t: runtimeRequire,\n x: externalRequire,\n y: externalImport,\n f: moduleContext,\n i: esmImport.bind(null, module),\n s: esmExport.bind(null, module, module.exports),\n j: dynamicExport.bind(null, module, module.exports),\n v: exportValue.bind(null, module),\n n: exportNamespace.bind(null, module),\n m: module,\n c: moduleCache,\n M: moduleFactories,\n l: loadChunkAsync.bind(null, { type: SourceType.Parent, parentId: id }),\n w: loadWebAssembly,\n u: loadWebAssemblyModule,\n g: globalThis,\n P: resolveAbsolutePath,\n U: relativeURL,\n R: createResolvePathFromModule(r),\n b: getWorkerBlobURL,\n z: requireStub,\n __dirname: typeof module.id === \"string\" ? module.id.replace(/(^|\\/)\\/+$/, \"\") : module.id\n });\n } catch (error) {\n module.error = error as any;\n throw error;\n }\n\n module.loaded = true;\n if (module.namespaceObject && module.exports !== module.namespaceObject) {\n // in case of a circular dependency: cjs1 -> esm2 -> cjs1\n interopEsm(module.exports, module.namespaceObject);\n }\n\n return module;\n}\n\n/**\n * Retrieves a module from the cache, or instantiate it if it is not cached.\n */\n// @ts-ignore\nfunction getOrInstantiateModuleFromParent(\n id: ModuleId,\n sourceModule: ModuleWithDirection\n): ModuleWithDirection {\n const module = moduleCache[id];\n\n if (sourceModule.children.indexOf(id) === -1) {\n sourceModule.children.push(id);\n }\n\n if (module) {\n if (module.parents.indexOf(sourceModule.id) === -1) {\n module.parents.push(sourceModule.id);\n }\n\n return module;\n }\n\n return instantiateModule(id, {\n type: SourceType.Parent,\n parentId: sourceModule.id,\n });\n}\n\n/**\n * Instantiates a runtime module.\n */\nfunction instantiateRuntimeModule(\n moduleId: ModuleId,\n chunkPath: ChunkPath\n): Module {\n return instantiateModule(moduleId, { type: SourceType.Runtime, chunkPath });\n}\n\n/**\n * Retrieves a module from the cache, or instantiate it as a runtime module if it is not cached.\n */\n// @ts-ignore TypeScript doesn't separate this module space from the browser runtime\nfunction getOrInstantiateRuntimeModule(\n moduleId: ModuleId,\n chunkPath: ChunkPath\n): Module {\n const module = moduleCache[moduleId];\n if (module) {\n if (module.error) {\n throw module.error;\n }\n return module;\n }\n\n return instantiateRuntimeModule(moduleId, chunkPath);\n}\n\nmodule.exports = {\n getOrInstantiateRuntimeModule,\n loadChunk,\n};\n"],"names":[],"mappings":"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","ignoreList":[0]}}] + {"offset": {"line": 418, "column": 0}, "map": {"version":3,"sources":["turbopack://[turbopack]/nodejs/runtime.ts"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-unused-vars */\n\n/// \n/// \n/// \n/// \n\nenum SourceType {\n /**\n * The module was instantiated because it was included in an evaluated chunk's\n * runtime.\n */\n Runtime = 0,\n /**\n * The module was instantiated because a parent module imported it.\n */\n Parent = 1,\n}\n\ntype SourceInfo =\n | {\n type: SourceType.Runtime;\n chunkPath: ChunkPath;\n }\n | {\n type: SourceType.Parent;\n parentId: ModuleId;\n };\n\nfunction stringifySourceInfo(source: SourceInfo): string {\n switch (source.type) {\n case SourceType.Runtime:\n return `runtime for chunk ${source.chunkPath}`;\n case SourceType.Parent:\n return `parent module ${source.parentId}`;\n default:\n invariant(source, (source) => `Unknown source type: ${source?.type}`);\n }\n}\n\ntype ExternalRequire = (\n id: ModuleId,\n thunk: () => any,\n esm?: boolean\n) => Exports | EsmNamespaceObject;\ntype ExternalImport = (id: ModuleId) => Promise;\n\ninterface TurbopackNodeBuildContext extends TurbopackBaseContext {\n R: ResolvePathFromModule;\n x: ExternalRequire;\n y: ExternalImport;\n}\n\ntype ModuleFactory = (\n this: Module[\"exports\"],\n context: TurbopackNodeBuildContext\n) => undefined;\n\nconst url = require(\"url\") as typeof import('url');\nconst fs = require(\"fs/promises\") as typeof import('fs/promises');\n\nconst moduleFactories: ModuleFactories = Object.create(null);\nconst moduleCache: ModuleCache = Object.create(null);\n\n/**\n * Returns an absolute path to the given module's id.\n */\nfunction createResolvePathFromModule(\n resolver: (moduleId: string) => Exports\n): (moduleId: string) => string {\n return function resolvePathFromModule(moduleId: string): string {\n const exported = resolver(moduleId);\n const exportedPath = exported?.default ?? exported;\n if (typeof exportedPath !== \"string\") {\n return exported as any;\n }\n\n const strippedAssetPrefix = exportedPath.slice(ASSET_PREFIX.length);\n const resolved = path.resolve(\n RUNTIME_ROOT,\n strippedAssetPrefix\n );\n\n return url.pathToFileURL(resolved).href;\n };\n}\n\nfunction loadChunk(chunkData: ChunkData, source?: SourceInfo): void {\n if (typeof chunkData === \"string\") {\n return loadChunkPath(chunkData, source);\n } else {\n return loadChunkPath(chunkData.path, source);\n }\n}\n\nfunction loadChunkPath(chunkPath: ChunkPath, source?: SourceInfo): void {\n if (!chunkPath.endsWith(\".js\")) {\n // We only support loading JS chunks in Node.js.\n // This branch can be hit when trying to load a CSS chunk.\n return;\n }\n\n try {\n const resolved = path.resolve(RUNTIME_ROOT, chunkPath);\n const chunkModules: ModuleFactories = require(resolved);\n\n for (const [moduleId, moduleFactory] of Object.entries(chunkModules)) {\n if (!moduleFactories[moduleId]) {\n moduleFactories[moduleId] = moduleFactory;\n }\n }\n } catch (e) {\n let errorMessage = `Failed to load chunk ${chunkPath}`;\n\n if (source) {\n errorMessage += ` from ${stringifySourceInfo(source)}`;\n }\n\n throw new Error(errorMessage, {\n cause: e,\n });\n }\n}\n\nasync function loadChunkAsync(\n source: SourceInfo,\n chunkData: ChunkData\n): Promise {\n const chunkPath = typeof chunkData === \"string\" ? chunkData : chunkData.path;\n if (!chunkPath.endsWith(\".js\")) {\n // We only support loading JS chunks in Node.js.\n // This branch can be hit when trying to load a CSS chunk.\n return;\n }\n\n const resolved = path.resolve(RUNTIME_ROOT, chunkPath);\n\n try {\n const contents = await fs.readFile(resolved, \"utf-8\");\n\n const localRequire = (id: string) => {\n let resolvedId = require.resolve(id, {paths: [path.dirname(resolved)]});\n return require(resolvedId);\n }\n const module = {\n exports: {},\n };\n // TODO: Use vm.runInThisContext once our minimal supported Node.js version includes https://github.com/nodejs/node/pull/52153\n // eslint-disable-next-line no-eval -- Can't use vm.runInThisContext due to https://github.com/nodejs/node/issues/52102\n (0, eval)(\n \"(function(module, exports, require, __dirname, __filename) {\" +\n contents +\n \"\\n})\" +\n \"\\n//# sourceURL=\" + url.pathToFileURL(resolved),\n )(module, module.exports, localRequire, path.dirname(resolved), resolved);\n\n const chunkModules: ModuleFactories = module.exports;\n for (const [moduleId, moduleFactory] of Object.entries(chunkModules)) {\n if (!moduleFactories[moduleId]) {\n moduleFactories[moduleId] = moduleFactory;\n }\n }\n } catch (e) {\n let errorMessage = `Failed to load chunk ${chunkPath}`;\n\n if (source) {\n errorMessage += ` from ${stringifySourceInfo(source)}`;\n }\n\n throw new Error(errorMessage, {\n cause: e,\n });\n }\n}\n\nfunction loadWebAssembly(chunkPath: ChunkPath, imports: WebAssembly.Imports) {\n const resolved = path.resolve(RUNTIME_ROOT, chunkPath);\n\n return instantiateWebAssemblyFromPath(resolved, imports);\n}\n\nfunction loadWebAssemblyModule(chunkPath: ChunkPath) {\n const resolved = path.resolve(RUNTIME_ROOT, chunkPath);\n\n return compileWebAssemblyFromPath(resolved);\n}\n\nfunction getWorkerBlobURL(_chunks: ChunkPath[]): string {\n throw new Error(\"Worker blobs are not implemented yet for Node.js\");\n}\n\nfunction instantiateModule(id: ModuleId, source: SourceInfo): ModuleWithDirection {\n const moduleFactory = moduleFactories[id];\n if (typeof moduleFactory !== \"function\") {\n // This can happen if modules incorrectly handle HMR disposes/updates,\n // e.g. when they keep a `setTimeout` around which still executes old code\n // and contains e.g. a `require(\"something\")` call.\n let instantiationReason;\n switch (source.type) {\n case SourceType.Runtime:\n instantiationReason = `as a runtime entry of chunk ${source.chunkPath}`;\n break;\n case SourceType.Parent:\n instantiationReason = `because it was required from module ${source.parentId}`;\n break;\n default:\n invariant(source, (source) => `Unknown source type: ${source?.type}`);\n }\n throw new Error(\n `Module ${id} was instantiated ${instantiationReason}, but the module factory is not available. It might have been deleted in an HMR update.`\n );\n }\n\n let parents: ModuleId[];\n switch (source.type) {\n case SourceType.Runtime:\n parents = [];\n break;\n case SourceType.Parent:\n // No need to add this module as a child of the parent module here, this\n // has already been taken care of in `getOrInstantiateModuleFromParent`.\n parents = [source.parentId];\n break;\n default:\n invariant(source, (source) => `Unknown source type: ${source?.type}`);\n }\n\n const module: ModuleWithDirection = {\n exports: {},\n error: undefined,\n loaded: false,\n id,\n parents,\n children: [],\n namespaceObject: undefined,\n };\n moduleCache[id] = module;\n\n // NOTE(alexkirsz) This can fail when the module encounters a runtime error.\n try {\n const r = commonJsRequire.bind(null, module);\n moduleFactory.call(module.exports, {\n a: asyncModule.bind(null, module),\n e: module.exports,\n r,\n t: runtimeRequire,\n x: externalRequire,\n y: externalImport,\n f: moduleContext,\n i: esmImport.bind(null, module),\n s: esmExport.bind(null, module, module.exports),\n j: dynamicExport.bind(null, module, module.exports),\n v: exportValue.bind(null, module),\n n: exportNamespace.bind(null, module),\n m: module,\n c: moduleCache,\n M: moduleFactories,\n l: loadChunkAsync.bind(null, { type: SourceType.Parent, parentId: id }),\n w: loadWebAssembly,\n u: loadWebAssemblyModule,\n g: globalThis,\n P: resolveAbsolutePath,\n U: relativeURL,\n R: createResolvePathFromModule(r),\n b: getWorkerBlobURL,\n z: requireStub,\n __dirname: typeof module.id === \"string\" ? module.id.replace(/(^|\\/)\\/+$/, \"\") : module.id\n });\n } catch (error) {\n module.error = error as any;\n throw error;\n }\n\n module.loaded = true;\n if (module.namespaceObject && module.exports !== module.namespaceObject) {\n // in case of a circular dependency: cjs1 -> esm2 -> cjs1\n interopEsm(module.exports, module.namespaceObject);\n }\n\n return module;\n}\n\n/**\n * Retrieves a module from the cache, or instantiate it if it is not cached.\n */\n// @ts-ignore\nfunction getOrInstantiateModuleFromParent(\n id: ModuleId,\n sourceModule: ModuleWithDirection\n): ModuleWithDirection {\n const module = moduleCache[id];\n\n if (sourceModule.children.indexOf(id) === -1) {\n sourceModule.children.push(id);\n }\n\n if (module) {\n if (module.parents.indexOf(sourceModule.id) === -1) {\n module.parents.push(sourceModule.id);\n }\n\n return module;\n }\n\n return instantiateModule(id, {\n type: SourceType.Parent,\n parentId: sourceModule.id,\n });\n}\n\n/**\n * Instantiates a runtime module.\n */\nfunction instantiateRuntimeModule(\n moduleId: ModuleId,\n chunkPath: ChunkPath\n): Module {\n return instantiateModule(moduleId, { type: SourceType.Runtime, chunkPath });\n}\n\n/**\n * Retrieves a module from the cache, or instantiate it as a runtime module if it is not cached.\n */\n// @ts-ignore TypeScript doesn't separate this module space from the browser runtime\nfunction getOrInstantiateRuntimeModule(\n moduleId: ModuleId,\n chunkPath: ChunkPath\n): Module {\n const module = moduleCache[moduleId];\n if (module) {\n if (module.error) {\n throw module.error;\n }\n return module;\n }\n\n return instantiateRuntimeModule(moduleId, chunkPath);\n}\n\nmodule.exports = {\n getOrInstantiateRuntimeModule,\n loadChunk,\n};\n"],"names":[],"mappings":"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","ignoreList":[0]}}] } \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/runtime/default_dev_runtime/output/b1abf_turbopack-tests_tests_snapshot_runtime_default_dev_runtime_input_index_b6426d.js b/turbopack/crates/turbopack-tests/tests/snapshot/runtime/default_dev_runtime/output/b1abf_turbopack-tests_tests_snapshot_runtime_default_dev_runtime_input_index_bfa467.js similarity index 99% rename from turbopack/crates/turbopack-tests/tests/snapshot/runtime/default_dev_runtime/output/b1abf_turbopack-tests_tests_snapshot_runtime_default_dev_runtime_input_index_b6426d.js rename to turbopack/crates/turbopack-tests/tests/snapshot/runtime/default_dev_runtime/output/b1abf_turbopack-tests_tests_snapshot_runtime_default_dev_runtime_input_index_bfa467.js index 74e62c0be4d38..78742692601ce 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/runtime/default_dev_runtime/output/b1abf_turbopack-tests_tests_snapshot_runtime_default_dev_runtime_input_index_b6426d.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/runtime/default_dev_runtime/output/b1abf_turbopack-tests_tests_snapshot_runtime_default_dev_runtime_input_index_bfa467.js @@ -1,5 +1,5 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push([ - "output/b1abf_turbopack-tests_tests_snapshot_runtime_default_dev_runtime_input_index_b6426d.js", + "output/b1abf_turbopack-tests_tests_snapshot_runtime_default_dev_runtime_input_index_bfa467.js", {}, {"otherChunks":["output/b1abf_turbopack-tests_tests_snapshot_runtime_default_dev_runtime_input_index_9cac9e.js"],"runtimeModuleIds":["[project]/turbopack/crates/turbopack-tests/tests/snapshot/runtime/default_dev_runtime/input/index.js [test] (ecmascript)"]} ]); @@ -9,8 +9,8 @@ if (!Array.isArray(globalThis.TURBOPACK)) { } const CHUNK_BASE_PATH = ""; +const RELATIVE_ROOT_PATH = "../../../../../../.."; const RUNTIME_PUBLIC_PATH = ""; -const OUTPUT_ROOT = "turbopack/crates/turbopack-tests/tests/snapshot/runtime/default_dev_runtime"; /** * This file contains runtime types and functions that are shared between all * TurboPack ECMAScript runtimes. @@ -1648,4 +1648,4 @@ chunksToRegister.forEach(registerChunk); })(); -//# sourceMappingURL=b1abf_turbopack-tests_tests_snapshot_runtime_default_dev_runtime_input_index_b6426d.js.map \ No newline at end of file +//# sourceMappingURL=b1abf_turbopack-tests_tests_snapshot_runtime_default_dev_runtime_input_index_bfa467.js.map \ No newline at end of file diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/runtime/default_dev_runtime/output/b1abf_turbopack-tests_tests_snapshot_runtime_default_dev_runtime_input_index_b6426d.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/runtime/default_dev_runtime/output/b1abf_turbopack-tests_tests_snapshot_runtime_default_dev_runtime_input_index_bfa467.js.map similarity index 100% rename from turbopack/crates/turbopack-tests/tests/snapshot/runtime/default_dev_runtime/output/b1abf_turbopack-tests_tests_snapshot_runtime_default_dev_runtime_input_index_b6426d.js.map rename to turbopack/crates/turbopack-tests/tests/snapshot/runtime/default_dev_runtime/output/b1abf_turbopack-tests_tests_snapshot_runtime_default_dev_runtime_input_index_bfa467.js.map diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/styled_components/styled_components/output/4c35f_tests_snapshot_styled_components_styled_components_input_index_c06781.js b/turbopack/crates/turbopack-tests/tests/snapshot/styled_components/styled_components/output/4c35f_tests_snapshot_styled_components_styled_components_input_index_6b8210.js similarity index 93% rename from turbopack/crates/turbopack-tests/tests/snapshot/styled_components/styled_components/output/4c35f_tests_snapshot_styled_components_styled_components_input_index_c06781.js rename to turbopack/crates/turbopack-tests/tests/snapshot/styled_components/styled_components/output/4c35f_tests_snapshot_styled_components_styled_components_input_index_6b8210.js index 4039e7e378ffe..65bed2676de73 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/styled_components/styled_components/output/4c35f_tests_snapshot_styled_components_styled_components_input_index_c06781.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/styled_components/styled_components/output/4c35f_tests_snapshot_styled_components_styled_components_input_index_6b8210.js @@ -1,5 +1,5 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push([ - "output/4c35f_tests_snapshot_styled_components_styled_components_input_index_c06781.js", + "output/4c35f_tests_snapshot_styled_components_styled_components_input_index_6b8210.js", {}, {"otherChunks":["output/turbopack_crates_turbopack-tests_tests_snapshot_398e25._.js"],"runtimeModuleIds":["[project]/turbopack/crates/turbopack-tests/tests/snapshot/styled_components/styled_components/input/index.js [test] (ecmascript)"]} ]); diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/styled_components/styled_components/output/4c35f_tests_snapshot_styled_components_styled_components_input_index_c06781.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/styled_components/styled_components/output/4c35f_tests_snapshot_styled_components_styled_components_input_index_6b8210.js.map similarity index 100% rename from turbopack/crates/turbopack-tests/tests/snapshot/styled_components/styled_components/output/4c35f_tests_snapshot_styled_components_styled_components_input_index_c06781.js.map rename to turbopack/crates/turbopack-tests/tests/snapshot/styled_components/styled_components/output/4c35f_tests_snapshot_styled_components_styled_components_input_index_6b8210.js.map diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/swc_transforms/mono_transforms/output/4c35f_tests_snapshot_swc_transforms_mono_transforms_input_packages_app_index_52fca0.js b/turbopack/crates/turbopack-tests/tests/snapshot/swc_transforms/mono_transforms/output/4c35f_tests_snapshot_swc_transforms_mono_transforms_input_packages_app_index_9baabf.js similarity index 91% rename from turbopack/crates/turbopack-tests/tests/snapshot/swc_transforms/mono_transforms/output/4c35f_tests_snapshot_swc_transforms_mono_transforms_input_packages_app_index_52fca0.js rename to turbopack/crates/turbopack-tests/tests/snapshot/swc_transforms/mono_transforms/output/4c35f_tests_snapshot_swc_transforms_mono_transforms_input_packages_app_index_9baabf.js index a3a2204317e79..f19ae9c14b3e6 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/swc_transforms/mono_transforms/output/4c35f_tests_snapshot_swc_transforms_mono_transforms_input_packages_app_index_52fca0.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/swc_transforms/mono_transforms/output/4c35f_tests_snapshot_swc_transforms_mono_transforms_input_packages_app_index_9baabf.js @@ -1,5 +1,5 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push([ - "output/4c35f_tests_snapshot_swc_transforms_mono_transforms_input_packages_app_index_52fca0.js", + "output/4c35f_tests_snapshot_swc_transforms_mono_transforms_input_packages_app_index_9baabf.js", {}, {"otherChunks":["output/turbopack_crates_turbopack-tests_tests_snapshot_b56e07._.js"],"runtimeModuleIds":["[project]/turbopack/crates/turbopack-tests/tests/snapshot/swc_transforms/mono_transforms/input/packages/app/index.js [test] (ecmascript)"]} ]); diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/swc_transforms/mono_transforms/output/4c35f_tests_snapshot_swc_transforms_mono_transforms_input_packages_app_index_52fca0.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/swc_transforms/mono_transforms/output/4c35f_tests_snapshot_swc_transforms_mono_transforms_input_packages_app_index_9baabf.js.map similarity index 100% rename from turbopack/crates/turbopack-tests/tests/snapshot/swc_transforms/mono_transforms/output/4c35f_tests_snapshot_swc_transforms_mono_transforms_input_packages_app_index_52fca0.js.map rename to turbopack/crates/turbopack-tests/tests/snapshot/swc_transforms/mono_transforms/output/4c35f_tests_snapshot_swc_transforms_mono_transforms_input_packages_app_index_9baabf.js.map diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/swc_transforms/preset_env/output/b1abf_turbopack-tests_tests_snapshot_swc_transforms_preset_env_input_index_354b2d.js b/turbopack/crates/turbopack-tests/tests/snapshot/swc_transforms/preset_env/output/b1abf_turbopack-tests_tests_snapshot_swc_transforms_preset_env_input_index_3890b0.js similarity index 91% rename from turbopack/crates/turbopack-tests/tests/snapshot/swc_transforms/preset_env/output/b1abf_turbopack-tests_tests_snapshot_swc_transforms_preset_env_input_index_354b2d.js rename to turbopack/crates/turbopack-tests/tests/snapshot/swc_transforms/preset_env/output/b1abf_turbopack-tests_tests_snapshot_swc_transforms_preset_env_input_index_3890b0.js index b5bb0e69acd64..fde31a09f6617 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/swc_transforms/preset_env/output/b1abf_turbopack-tests_tests_snapshot_swc_transforms_preset_env_input_index_354b2d.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/swc_transforms/preset_env/output/b1abf_turbopack-tests_tests_snapshot_swc_transforms_preset_env_input_index_3890b0.js @@ -1,5 +1,5 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push([ - "output/b1abf_turbopack-tests_tests_snapshot_swc_transforms_preset_env_input_index_354b2d.js", + "output/b1abf_turbopack-tests_tests_snapshot_swc_transforms_preset_env_input_index_3890b0.js", {}, {"otherChunks":["output/turbopack_crates_turbopack-tests_tests_snapshot_bff03a._.js"],"runtimeModuleIds":["[project]/turbopack/crates/turbopack-tests/tests/snapshot/swc_transforms/preset_env/input/index.js [test] (ecmascript)"]} ]); diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/swc_transforms/preset_env/output/b1abf_turbopack-tests_tests_snapshot_swc_transforms_preset_env_input_index_354b2d.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/swc_transforms/preset_env/output/b1abf_turbopack-tests_tests_snapshot_swc_transforms_preset_env_input_index_3890b0.js.map similarity index 100% rename from turbopack/crates/turbopack-tests/tests/snapshot/swc_transforms/preset_env/output/b1abf_turbopack-tests_tests_snapshot_swc_transforms_preset_env_input_index_354b2d.js.map rename to turbopack/crates/turbopack-tests/tests/snapshot/swc_transforms/preset_env/output/b1abf_turbopack-tests_tests_snapshot_swc_transforms_preset_env_input_index_3890b0.js.map diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/tree-shaking/dce/output/4e721_crates_turbopack-tests_tests_snapshot_tree-shaking_dce_input_index_3a60bd.js b/turbopack/crates/turbopack-tests/tests/snapshot/tree-shaking/dce/output/4e721_crates_turbopack-tests_tests_snapshot_tree-shaking_dce_input_index_f2c827.js similarity index 92% rename from turbopack/crates/turbopack-tests/tests/snapshot/tree-shaking/dce/output/4e721_crates_turbopack-tests_tests_snapshot_tree-shaking_dce_input_index_3a60bd.js rename to turbopack/crates/turbopack-tests/tests/snapshot/tree-shaking/dce/output/4e721_crates_turbopack-tests_tests_snapshot_tree-shaking_dce_input_index_f2c827.js index a7cb839bcddcd..f87bd35856897 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/tree-shaking/dce/output/4e721_crates_turbopack-tests_tests_snapshot_tree-shaking_dce_input_index_3a60bd.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/tree-shaking/dce/output/4e721_crates_turbopack-tests_tests_snapshot_tree-shaking_dce_input_index_f2c827.js @@ -1,5 +1,5 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push([ - "output/4e721_crates_turbopack-tests_tests_snapshot_tree-shaking_dce_input_index_3a60bd.js", + "output/4e721_crates_turbopack-tests_tests_snapshot_tree-shaking_dce_input_index_f2c827.js", {}, {"otherChunks":["output/turbopack_crates_turbopack-tests_tests_snapshot_tree-shaking_dce_input_8df423._.js"],"runtimeModuleIds":["[project]/turbopack/crates/turbopack-tests/tests/snapshot/tree-shaking/dce/input/index.js [test] (ecmascript)"]} ]); diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/tree-shaking/dce/output/4e721_crates_turbopack-tests_tests_snapshot_tree-shaking_dce_input_index_3a60bd.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/tree-shaking/dce/output/4e721_crates_turbopack-tests_tests_snapshot_tree-shaking_dce_input_index_f2c827.js.map similarity index 100% rename from turbopack/crates/turbopack-tests/tests/snapshot/tree-shaking/dce/output/4e721_crates_turbopack-tests_tests_snapshot_tree-shaking_dce_input_index_3a60bd.js.map rename to turbopack/crates/turbopack-tests/tests/snapshot/tree-shaking/dce/output/4e721_crates_turbopack-tests_tests_snapshot_tree-shaking_dce_input_index_f2c827.js.map diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/typescript/jsconfig-baseurl/output/b1abf_turbopack-tests_tests_snapshot_typescript_jsconfig-baseurl_input_index_c6a63d.js b/turbopack/crates/turbopack-tests/tests/snapshot/typescript/jsconfig-baseurl/output/b1abf_turbopack-tests_tests_snapshot_typescript_jsconfig-baseurl_input_index_deb25b.js similarity index 91% rename from turbopack/crates/turbopack-tests/tests/snapshot/typescript/jsconfig-baseurl/output/b1abf_turbopack-tests_tests_snapshot_typescript_jsconfig-baseurl_input_index_c6a63d.js rename to turbopack/crates/turbopack-tests/tests/snapshot/typescript/jsconfig-baseurl/output/b1abf_turbopack-tests_tests_snapshot_typescript_jsconfig-baseurl_input_index_deb25b.js index 9a4b476594554..464e14e1c1885 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/typescript/jsconfig-baseurl/output/b1abf_turbopack-tests_tests_snapshot_typescript_jsconfig-baseurl_input_index_c6a63d.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/typescript/jsconfig-baseurl/output/b1abf_turbopack-tests_tests_snapshot_typescript_jsconfig-baseurl_input_index_deb25b.js @@ -1,5 +1,5 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push([ - "output/b1abf_turbopack-tests_tests_snapshot_typescript_jsconfig-baseurl_input_index_c6a63d.js", + "output/b1abf_turbopack-tests_tests_snapshot_typescript_jsconfig-baseurl_input_index_deb25b.js", {}, {"otherChunks":["output/4e721_crates_turbopack-tests_tests_snapshot_typescript_jsconfig-baseurl_input_50efc1._.js"],"runtimeModuleIds":["[project]/turbopack/crates/turbopack-tests/tests/snapshot/typescript/jsconfig-baseurl/input/index.js [test] (ecmascript)"]} ]); diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/typescript/jsconfig-baseurl/output/b1abf_turbopack-tests_tests_snapshot_typescript_jsconfig-baseurl_input_index_c6a63d.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/typescript/jsconfig-baseurl/output/b1abf_turbopack-tests_tests_snapshot_typescript_jsconfig-baseurl_input_index_deb25b.js.map similarity index 100% rename from turbopack/crates/turbopack-tests/tests/snapshot/typescript/jsconfig-baseurl/output/b1abf_turbopack-tests_tests_snapshot_typescript_jsconfig-baseurl_input_index_c6a63d.js.map rename to turbopack/crates/turbopack-tests/tests/snapshot/typescript/jsconfig-baseurl/output/b1abf_turbopack-tests_tests_snapshot_typescript_jsconfig-baseurl_input_index_deb25b.js.map diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-baseurl/output/4c35f_tests_snapshot_typescript_tsconfig-baseurl_input_index_ts_48f30a._.js b/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-baseurl/output/4c35f_tests_snapshot_typescript_tsconfig-baseurl_input_index_ts_f1475c._.js similarity index 94% rename from turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-baseurl/output/4c35f_tests_snapshot_typescript_tsconfig-baseurl_input_index_ts_48f30a._.js rename to turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-baseurl/output/4c35f_tests_snapshot_typescript_tsconfig-baseurl_input_index_ts_f1475c._.js index bd7f68193a609..b4e60a489e6c6 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-baseurl/output/4c35f_tests_snapshot_typescript_tsconfig-baseurl_input_index_ts_48f30a._.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-baseurl/output/4c35f_tests_snapshot_typescript_tsconfig-baseurl_input_index_ts_f1475c._.js @@ -1,5 +1,5 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push([ - "output/4c35f_tests_snapshot_typescript_tsconfig-baseurl_input_index_ts_48f30a._.js", + "output/4c35f_tests_snapshot_typescript_tsconfig-baseurl_input_index_ts_f1475c._.js", {}, {"otherChunks":["output/4e721_crates_turbopack-tests_tests_snapshot_typescript_tsconfig-baseurl_input_882641._.js"],"runtimeModuleIds":["[project]/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-baseurl/input/index.ts [test] (ecmascript)"]} ]); diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-baseurl/output/4c35f_tests_snapshot_typescript_tsconfig-baseurl_input_index_ts_48f30a._.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-baseurl/output/4c35f_tests_snapshot_typescript_tsconfig-baseurl_input_index_ts_f1475c._.js.map similarity index 100% rename from turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-baseurl/output/4c35f_tests_snapshot_typescript_tsconfig-baseurl_input_index_ts_48f30a._.js.map rename to turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-baseurl/output/4c35f_tests_snapshot_typescript_tsconfig-baseurl_input_index_ts_f1475c._.js.map diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends-module-full-path/output/457d9_snapshot_typescript_tsconfig-extends-module-full-path_input_index_ts_282934._.js b/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends-module-full-path/output/457d9_snapshot_typescript_tsconfig-extends-module-full-path_input_index_ts_c43bb3._.js similarity index 91% rename from turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends-module-full-path/output/457d9_snapshot_typescript_tsconfig-extends-module-full-path_input_index_ts_282934._.js rename to turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends-module-full-path/output/457d9_snapshot_typescript_tsconfig-extends-module-full-path_input_index_ts_c43bb3._.js index c005029377343..f2c268cb37c29 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends-module-full-path/output/457d9_snapshot_typescript_tsconfig-extends-module-full-path_input_index_ts_282934._.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends-module-full-path/output/457d9_snapshot_typescript_tsconfig-extends-module-full-path_input_index_ts_c43bb3._.js @@ -1,5 +1,5 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push([ - "output/457d9_snapshot_typescript_tsconfig-extends-module-full-path_input_index_ts_282934._.js", + "output/457d9_snapshot_typescript_tsconfig-extends-module-full-path_input_index_ts_c43bb3._.js", {}, {"otherChunks":["output/turbopack_crates_turbopack-tests_tests_snapshot_f03842._.js"],"runtimeModuleIds":["[project]/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends-module-full-path/input/index.ts [test] (ecmascript)"]} ]); diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends-module-full-path/output/457d9_snapshot_typescript_tsconfig-extends-module-full-path_input_index_ts_282934._.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends-module-full-path/output/457d9_snapshot_typescript_tsconfig-extends-module-full-path_input_index_ts_c43bb3._.js.map similarity index 100% rename from turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends-module-full-path/output/457d9_snapshot_typescript_tsconfig-extends-module-full-path_input_index_ts_282934._.js.map rename to turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends-module-full-path/output/457d9_snapshot_typescript_tsconfig-extends-module-full-path_input_index_ts_c43bb3._.js.map diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends-module/output/4c35f_tests_snapshot_typescript_tsconfig-extends-module_input_index_ts_ec47b6._.js b/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends-module/output/4c35f_tests_snapshot_typescript_tsconfig-extends-module_input_index_ts_4ce860._.js similarity index 92% rename from turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends-module/output/4c35f_tests_snapshot_typescript_tsconfig-extends-module_input_index_ts_ec47b6._.js rename to turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends-module/output/4c35f_tests_snapshot_typescript_tsconfig-extends-module_input_index_ts_4ce860._.js index 8dfc9797b3b3c..a63fc9e4356e1 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends-module/output/4c35f_tests_snapshot_typescript_tsconfig-extends-module_input_index_ts_ec47b6._.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends-module/output/4c35f_tests_snapshot_typescript_tsconfig-extends-module_input_index_ts_4ce860._.js @@ -1,5 +1,5 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push([ - "output/4c35f_tests_snapshot_typescript_tsconfig-extends-module_input_index_ts_ec47b6._.js", + "output/4c35f_tests_snapshot_typescript_tsconfig-extends-module_input_index_ts_4ce860._.js", {}, {"otherChunks":["output/turbopack_crates_turbopack-tests_tests_snapshot_cff3cf._.js"],"runtimeModuleIds":["[project]/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends-module/input/index.ts [test] (ecmascript)"]} ]); diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends-module/output/4c35f_tests_snapshot_typescript_tsconfig-extends-module_input_index_ts_ec47b6._.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends-module/output/4c35f_tests_snapshot_typescript_tsconfig-extends-module_input_index_ts_4ce860._.js.map similarity index 100% rename from turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends-module/output/4c35f_tests_snapshot_typescript_tsconfig-extends-module_input_index_ts_ec47b6._.js.map rename to turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends-module/output/4c35f_tests_snapshot_typescript_tsconfig-extends-module_input_index_ts_4ce860._.js.map diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends-relative-dir/output/4c35f_tests_snapshot_typescript_tsconfig-extends-relative-dir_input_index_ts_704a63._.js b/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends-relative-dir/output/4c35f_tests_snapshot_typescript_tsconfig-extends-relative-dir_input_index_ts_c42252._.js similarity index 91% rename from turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends-relative-dir/output/4c35f_tests_snapshot_typescript_tsconfig-extends-relative-dir_input_index_ts_704a63._.js rename to turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends-relative-dir/output/4c35f_tests_snapshot_typescript_tsconfig-extends-relative-dir_input_index_ts_c42252._.js index 0b93f8a4ab4f9..b88b70f3f1a81 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends-relative-dir/output/4c35f_tests_snapshot_typescript_tsconfig-extends-relative-dir_input_index_ts_704a63._.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends-relative-dir/output/4c35f_tests_snapshot_typescript_tsconfig-extends-relative-dir_input_index_ts_c42252._.js @@ -1,5 +1,5 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push([ - "output/4c35f_tests_snapshot_typescript_tsconfig-extends-relative-dir_input_index_ts_704a63._.js", + "output/4c35f_tests_snapshot_typescript_tsconfig-extends-relative-dir_input_index_ts_c42252._.js", {}, {"otherChunks":["output/4c35f_tests_snapshot_typescript_tsconfig-extends-relative-dir_input_ef6815._.js"],"runtimeModuleIds":["[project]/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends-relative-dir/input/index.ts [test] (ecmascript)"]} ]); diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends-relative-dir/output/4c35f_tests_snapshot_typescript_tsconfig-extends-relative-dir_input_index_ts_704a63._.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends-relative-dir/output/4c35f_tests_snapshot_typescript_tsconfig-extends-relative-dir_input_index_ts_c42252._.js.map similarity index 100% rename from turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends-relative-dir/output/4c35f_tests_snapshot_typescript_tsconfig-extends-relative-dir_input_index_ts_704a63._.js.map rename to turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends-relative-dir/output/4c35f_tests_snapshot_typescript_tsconfig-extends-relative-dir_input_index_ts_c42252._.js.map diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends-without-ext/output/4c35f_tests_snapshot_typescript_tsconfig-extends-without-ext_input_index_ts_cfc0d8._.js b/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends-without-ext/output/4c35f_tests_snapshot_typescript_tsconfig-extends-without-ext_input_index_ts_4546b9._.js similarity index 91% rename from turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends-without-ext/output/4c35f_tests_snapshot_typescript_tsconfig-extends-without-ext_input_index_ts_cfc0d8._.js rename to turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends-without-ext/output/4c35f_tests_snapshot_typescript_tsconfig-extends-without-ext_input_index_ts_4546b9._.js index 30982da60155c..36c897a6a30e1 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends-without-ext/output/4c35f_tests_snapshot_typescript_tsconfig-extends-without-ext_input_index_ts_cfc0d8._.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends-without-ext/output/4c35f_tests_snapshot_typescript_tsconfig-extends-without-ext_input_index_ts_4546b9._.js @@ -1,5 +1,5 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push([ - "output/4c35f_tests_snapshot_typescript_tsconfig-extends-without-ext_input_index_ts_cfc0d8._.js", + "output/4c35f_tests_snapshot_typescript_tsconfig-extends-without-ext_input_index_ts_4546b9._.js", {}, {"otherChunks":["output/4c35f_tests_snapshot_typescript_tsconfig-extends-without-ext_input_fcdb43._.js"],"runtimeModuleIds":["[project]/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends-without-ext/input/index.ts [test] (ecmascript)"]} ]); diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends-without-ext/output/4c35f_tests_snapshot_typescript_tsconfig-extends-without-ext_input_index_ts_cfc0d8._.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends-without-ext/output/4c35f_tests_snapshot_typescript_tsconfig-extends-without-ext_input_index_ts_4546b9._.js.map similarity index 100% rename from turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends-without-ext/output/4c35f_tests_snapshot_typescript_tsconfig-extends-without-ext_input_index_ts_cfc0d8._.js.map rename to turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends-without-ext/output/4c35f_tests_snapshot_typescript_tsconfig-extends-without-ext_input_index_ts_4546b9._.js.map diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends/output/4c35f_tests_snapshot_typescript_tsconfig-extends_input_index_ts_32cac0._.js b/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends/output/4c35f_tests_snapshot_typescript_tsconfig-extends_input_index_ts_4c689d._.js similarity index 94% rename from turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends/output/4c35f_tests_snapshot_typescript_tsconfig-extends_input_index_ts_32cac0._.js rename to turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends/output/4c35f_tests_snapshot_typescript_tsconfig-extends_input_index_ts_4c689d._.js index 191baaf51baab..3323a6ff244ef 100644 --- a/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends/output/4c35f_tests_snapshot_typescript_tsconfig-extends_input_index_ts_32cac0._.js +++ b/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends/output/4c35f_tests_snapshot_typescript_tsconfig-extends_input_index_ts_4c689d._.js @@ -1,5 +1,5 @@ (globalThis.TURBOPACK = globalThis.TURBOPACK || []).push([ - "output/4c35f_tests_snapshot_typescript_tsconfig-extends_input_index_ts_32cac0._.js", + "output/4c35f_tests_snapshot_typescript_tsconfig-extends_input_index_ts_4c689d._.js", {}, {"otherChunks":["output/4e721_crates_turbopack-tests_tests_snapshot_typescript_tsconfig-extends_input_39e687._.js"],"runtimeModuleIds":["[project]/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends/input/index.ts [test] (ecmascript)"]} ]); diff --git a/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends/output/4c35f_tests_snapshot_typescript_tsconfig-extends_input_index_ts_32cac0._.js.map b/turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends/output/4c35f_tests_snapshot_typescript_tsconfig-extends_input_index_ts_4c689d._.js.map similarity index 100% rename from turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends/output/4c35f_tests_snapshot_typescript_tsconfig-extends_input_index_ts_32cac0._.js.map rename to turbopack/crates/turbopack-tests/tests/snapshot/typescript/tsconfig-extends/output/4c35f_tests_snapshot_typescript_tsconfig-extends_input_index_ts_4c689d._.js.map From 8800af6ec3e6a11e88d330a4bb56e05850efeb5e Mon Sep 17 00:00:00 2001 From: Tobias Koppers Date: Mon, 11 Nov 2024 20:50:52 +0100 Subject: [PATCH 2/4] fix import.meta.url in monorepo --- .../turbopack-ecmascript/src/references/esm/meta.rs | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/turbopack/crates/turbopack-ecmascript/src/references/esm/meta.rs b/turbopack/crates/turbopack-ecmascript/src/references/esm/meta.rs index c6c8e17e85a46..67d320a11a7ca 100644 --- a/turbopack/crates/turbopack-ecmascript/src/references/esm/meta.rs +++ b/turbopack/crates/turbopack-ecmascript/src/references/esm/meta.rs @@ -13,7 +13,7 @@ use turbopack_core::chunk::ChunkingContext; use crate::{ code_gen::{CodeGenerateable, CodeGeneration}, create_visitor, magic_identifier, - references::{as_abs_path, AstPath}, + references::AstPath, }; /// Responsible for initializing the `import.meta` object binding, so that it @@ -40,9 +40,13 @@ impl CodeGenerateable for ImportMetaBinding { #[turbo_tasks::function] async fn code_generation( &self, - _context: Vc>, + chunking_context: Vc>, ) -> Result> { - let path = as_abs_path(*self.path).await?.as_str().map_or_else( + let rel_path = chunking_context + .root_path() + .await? + .get_relative_path_to(&*self.path.await?); + let path = rel_path.map_or_else( || { quote!( "(() => { throw new Error('could not convert import.meta.url to filepath') })()" @@ -50,7 +54,7 @@ impl CodeGenerateable for ImportMetaBinding { ) }, |path| { - let formatted = encode_path(path).trim_start_matches("/ROOT/").to_string(); + let formatted = encode_path(&path.trim_start_matches("./")).to_string(); quote!( "`file://${__turbopack_resolve_absolute_path__($formatted)}`" as Expr, formatted: Expr = formatted.into() From 524147f83f5f195fead8b12125ed88de5b83acf7 Mon Sep 17 00:00:00 2001 From: Tobias Koppers Date: Thu, 5 Dec 2024 16:31:24 +0100 Subject: [PATCH 3/4] add import.meta.url test case --- .../apps/web/app/import-meta-url-rsc/page.tsx | 5 +++ .../apps/web/app/import-meta-url-ssr/page.tsx | 7 ++++ .../non-root-project-monorepo.test.ts | 32 +++++++++++++++++++ 3 files changed, 44 insertions(+) create mode 100644 test/e2e/app-dir/non-root-project-monorepo/apps/web/app/import-meta-url-rsc/page.tsx create mode 100644 test/e2e/app-dir/non-root-project-monorepo/apps/web/app/import-meta-url-ssr/page.tsx diff --git a/test/e2e/app-dir/non-root-project-monorepo/apps/web/app/import-meta-url-rsc/page.tsx b/test/e2e/app-dir/non-root-project-monorepo/apps/web/app/import-meta-url-rsc/page.tsx new file mode 100644 index 0000000000000..2da3517bb8457 --- /dev/null +++ b/test/e2e/app-dir/non-root-project-monorepo/apps/web/app/import-meta-url-rsc/page.tsx @@ -0,0 +1,5 @@ +const text = import.meta.url + +export default function Page() { + return

{text}

+} diff --git a/test/e2e/app-dir/non-root-project-monorepo/apps/web/app/import-meta-url-ssr/page.tsx b/test/e2e/app-dir/non-root-project-monorepo/apps/web/app/import-meta-url-ssr/page.tsx new file mode 100644 index 0000000000000..0d2eda39a7042 --- /dev/null +++ b/test/e2e/app-dir/non-root-project-monorepo/apps/web/app/import-meta-url-ssr/page.tsx @@ -0,0 +1,7 @@ +'use client' + +const text = import.meta.url + +export default function Page() { + return

{text}

+} diff --git a/test/e2e/app-dir/non-root-project-monorepo/non-root-project-monorepo.test.ts b/test/e2e/app-dir/non-root-project-monorepo/non-root-project-monorepo.test.ts index d7b7acbc78df1..0a8bb94ba5f2b 100644 --- a/test/e2e/app-dir/non-root-project-monorepo/non-root-project-monorepo.test.ts +++ b/test/e2e/app-dir/non-root-project-monorepo/non-root-project-monorepo.test.ts @@ -48,6 +48,38 @@ describe('non-root-project-monorepo', () => { }) }) + describe('import.meta.url', () => { + it('should work during RSC', async () => { + const $ = await next.render$('/import-meta-url-rsc') + expect($('p').text()).toMatch( + /^file:\/\/.*\/next-install-[^/]+\/apps\/web\/app\/import-meta-url-rsc\/page.tsx$/ + ) + }) + + it('should work during SSR', async () => { + const $ = await next.render$('/import-meta-url-ssr') + expect($('p').text()).toMatch( + /^file:\/\/.*\/next-install-[^/]+\/apps\/web\/app\/import-meta-url-ssr\/page.tsx$/ + ) + }) + + it('should work on client-side', async () => { + const browser = await next.browser('/import-meta-url-ssr') + await assertNoRedbox(browser) + if (isTurbopack) { + // Turbopack intentionally doesn't expose the full path to the browser bundles + expect(await browser.elementByCss('p').text()).toBe( + 'file:///ROOT/apps/web/app/import-meta-url-ssr/page.tsx' + ) + } else { + expect(await browser.elementByCss('p').text()).toMatch( + /^file:\/\/.*\/next-install-[^/]+\/apps\/web\/app\/import-meta-url-ssr\/page.tsx$/ + ) + } + await browser.close() + }) + }) + if (isNextDev) { describe('source-maps', () => { function normalizeStackTrace(stack: string): string { From caff3ee7f71367f55c1ec75e6778da6340324401 Mon Sep 17 00:00:00 2001 From: Tobias Koppers Date: Thu, 5 Dec 2024 17:15:03 +0100 Subject: [PATCH 4/4] clippy --- .../crates/turbopack-ecmascript/src/references/esm/meta.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/turbopack/crates/turbopack-ecmascript/src/references/esm/meta.rs b/turbopack/crates/turbopack-ecmascript/src/references/esm/meta.rs index 67d320a11a7ca..51e9b956bb5d7 100644 --- a/turbopack/crates/turbopack-ecmascript/src/references/esm/meta.rs +++ b/turbopack/crates/turbopack-ecmascript/src/references/esm/meta.rs @@ -54,7 +54,7 @@ impl CodeGenerateable for ImportMetaBinding { ) }, |path| { - let formatted = encode_path(&path.trim_start_matches("./")).to_string(); + let formatted = encode_path(path.trim_start_matches("./")).to_string(); quote!( "`file://${__turbopack_resolve_absolute_path__($formatted)}`" as Expr, formatted: Expr = formatted.into()