Unverified Commit 5815b59d authored by vercel-fleet-prod[bot]'s avatar vercel-fleet-prod[bot] Committed by GitHub

turbopack: hoist use strict to the top of all-strict chunks

All-strict browser and Node.js chunks now start with a file-level
"use strict" directive instead of a strict IIFE wrapper. Code tracks the
leading directive as an unmapped prefix, so debug-ID snippets are written
after it and source maps account for the moved prefix.
Co-authored-by: 's avatarLuke Sandberg <210140+lukesandberg@users.noreply.github.com>
parent 02b6b979
...@@ -126,6 +126,32 @@ impl Rope { ...@@ -126,6 +126,32 @@ impl Rope {
pub fn into_bytes(self) -> Bytes { pub fn into_bytes(self) -> Bytes {
self.data.into_bytes(self.length) self.data.into_bytes(self.length)
} }
/// Returns this rope without its first `start` bytes.
///
/// The remaining contents are shared, not copied: only the element containing the cut is
/// resliced.
///
/// # Panics
///
/// If `start` is greater than the rope's length.
pub fn slice_from(&self, start: usize) -> Rope {
assert!(
start <= self.length,
"cannot slice a rope of {} bytes from {start}",
self.length
);
if start == 0 {
return self.clone();
}
let mut remaining = start;
let data = self.data.skip(&mut remaining);
debug_assert_eq!(remaining, 0);
Rope {
length: self.length - start,
data,
}
}
} }
impl From<Vec<u8>> for Rope { impl From<Vec<u8>> for Rope {
...@@ -642,6 +668,33 @@ impl InnerRope { ...@@ -642,6 +668,33 @@ impl InnerRope {
.expect("read of rope cannot fail"); .expect("read of rope cannot fail");
buf.into() buf.into()
} }
/// Returns the contents after skipping `remaining` bytes, decrementing it by the bytes skipped.
///
/// Only elements touched by the skipped prefix are visited. Elements after the cut are
/// shared as is.
fn skip(&self, remaining: &mut usize) -> InnerRope {
let mut els = Vec::with_capacity(self.0.len());
let mut iter = self.iter();
while *remaining > 0 {
match iter.next() {
Some(Local(bytes)) if bytes.len() <= *remaining => *remaining -= bytes.len(),
Some(Local(bytes)) => {
els.push(Local(bytes.slice(*remaining..)));
*remaining = 0;
}
Some(Shared(inner)) => {
let rest = inner.skip(remaining);
if !rest.is_empty() {
els.push(Shared(rest));
}
}
None => break,
}
}
els.extend(iter.cloned());
InnerRope::from(els)
}
} }
impl Default for InnerRope { impl Default for InnerRope {
...@@ -963,6 +1016,31 @@ mod test { ...@@ -963,6 +1016,31 @@ mod test {
} }
} }
#[test]
fn slice_from_handles_nested_boundaries() {
let rope = Rope::new(vec![
"abc".into(),
vec!["de".into(), vec!["fgh".into(), "ij".into()].into()].into(),
"klm".into(),
]);
let expected = "abcdefghijklm";
for start in 0..=expected.len() {
let sliced = rope.slice_from(start);
assert_eq!(sliced.len(), expected.len() - start, "start {start}");
assert_eq!(
sliced.to_str().unwrap(),
&expected[start..],
"start {start}"
);
}
}
#[test]
#[should_panic(expected = "cannot slice a rope of 3 bytes from 4")]
fn slice_from_past_the_end_panics() {
Rope::new(vec!["abc".into()]).slice_from(4);
}
#[test] #[test]
fn empty_build_without_pushes() { fn empty_build_without_pushes() {
let empty = RopeBuilder::default().build(); let empty = RopeBuilder::default().build();
......
...@@ -15,8 +15,8 @@ use turbopack_core::{ ...@@ -15,8 +15,8 @@ use turbopack_core::{
}; };
use turbopack_ecmascript::{ use turbopack_ecmascript::{
chunk::{ chunk::{
EcmascriptChunkContent, EcmascriptChunkContentEntries, strict_chunk_wrapper, EcmascriptChunkContent, EcmascriptChunkContentEntries, chunk_has_strict_directive,
strict_factory_mode, write_module_factories, write_module_factories,
}, },
hmr::{ hmr::{
EcmascriptHmrChunkContent, merger::EcmascriptChunkContentMerger, EcmascriptHmrChunkContent, merger::EcmascriptChunkContentMerger,
...@@ -88,20 +88,10 @@ impl EcmascriptBrowserChunkContent { ...@@ -88,20 +88,10 @@ impl EcmascriptBrowserChunkContent {
*this.chunking_context.debug_ids_enabled().await?, *this.chunking_context.debug_ids_enabled().await?,
); );
let supports_arrow_functions = *this
.chunking_context
.environment()
.runtime_versions()
.supports_arrow_functions()
.await?;
let content = this.content.await?; let content = this.content.await?;
let chunk_items = content.chunk_item_code_module_ids_and_paths().await?; let chunk_items = content.chunk_item_code_module_ids_and_paths().await?;
let strict_factory_mode = strict_factory_mode(&chunk_items, supports_arrow_functions); if chunk_has_strict_directive(&chunk_items) {
code.push_strict_directive_prefix();
let strict_chunk_wrapper =
strict_chunk_wrapper(strict_factory_mode, supports_arrow_functions);
if let Some((prefix, _)) = strict_chunk_wrapper {
code += prefix;
} }
// When a chunk is executed, it will either register itself with the current // When a chunk is executed, it will either register itself with the current
...@@ -122,10 +112,6 @@ impl EcmascriptBrowserChunkContent { ...@@ -122,10 +112,6 @@ impl EcmascriptBrowserChunkContent {
write_module_factories(&mut code, &chunk_items)?; write_module_factories(&mut code, &chunk_items)?;
write!(code, "\n]);")?; write!(code, "\n]);")?;
if let Some((_, suffix)) = strict_chunk_wrapper {
code += suffix;
}
let mut code = code.build(); let mut code = code.build();
if let MinifyType::Minify { mangle } = *this.chunking_context.minify_type().await? { if let MinifyType::Minify { mangle } = *this.chunking_context.minify_type().await? {
......
...@@ -5,69 +5,17 @@ use turbopack_core::code_builder::CodeBuilder; ...@@ -5,69 +5,17 @@ use turbopack_core::code_builder::CodeBuilder;
use crate::{chunk::CodeModuleIdAndPath, utils::StringifyJs}; use crate::{chunk::CodeModuleIdAndPath, utils::StringifyJs};
const ALL_STRICT_ARROW_PREFIX: &str = "(()=>{\"use strict\";"; /// Whether the chunk file should start with a `"use strict"` directive, which makes every module
const ALL_STRICT_FUNCTION_PREFIX: &str = "(function(){\"use strict\";"; /// factory in it strict.
const ALL_STRICT_SUFFIX: &str = "})()";
/// Minimum number of strict factories that makes hoisting the directive worth its wrapper.
/// Derived from the minified wrapper sizes and pinned by `strict_thresholds_match_wrapper_sizes`.
/// The arrow and function wrappers land on different minimums, which is why arrow support selects
/// between two constants here.
const ALL_STRICT_ARROW_THRESHOLD: usize = 2;
const ALL_STRICT_FUNCTION_THRESHOLD: usize = 3;
#[derive(Clone, Copy, PartialEq, Eq)]
pub enum StrictFactoryMode {
/// Every factory is written as is, each strict one carrying its own `"use strict"` directive.
Flat,
/// Every factory is strict, and the whole chunk is wrapped in a strict IIFE statement.
AllStrict,
}
/// Selects the smallest expected minified representation for this chunk's mix of module factories.
/// ///
/// Chunks that mix strict and non-strict factories are always written flat. Grouping the strict /// That is the case when all factories are strict. It costs no more than the directive of a
/// factories into a strict IIFE *expression* (`[(()=>{"use strict";return[…]})(),…]`) is not safe: /// single strict factory, and the minifier drops the then redundant directives of the factories.
/// the minifier drops the directive and inlines the IIFE, which leaves the strict factories in a ///
/// non-strict context. /// Chunks that mix strict and non-strict factories don't get one; each strict factory keeps its
pub fn strict_factory_mode( /// own directive instead. This preserves the original factory order and avoids depending on a
chunk_items: &[CodeModuleIdAndPath], /// strict IIFE expression surviving minification.
supports_arrow_functions: bool, pub fn chunk_has_strict_directive(chunk_items: &[CodeModuleIdAndPath]) -> bool {
) -> StrictFactoryMode { !chunk_items.is_empty() && chunk_items.iter().all(|item| item.strict)
if chunk_items.iter().any(|item| !item.strict) {
return StrictFactoryMode::Flat;
}
let threshold = if supports_arrow_functions {
ALL_STRICT_ARROW_THRESHOLD
} else {
ALL_STRICT_FUNCTION_THRESHOLD
};
if chunk_items.len() >= threshold {
StrictFactoryMode::AllStrict
} else {
StrictFactoryMode::Flat
}
}
/// Code written around the whole chunk in the all-strict case.
pub fn strict_chunk_wrapper(
mode: StrictFactoryMode,
supports_arrow_functions: bool,
) -> Option<(&'static str, &'static str)> {
(mode == StrictFactoryMode::AllStrict).then(|| {
(
all_strict_prefix(supports_arrow_functions),
ALL_STRICT_SUFFIX,
)
})
}
const fn all_strict_prefix(supports_arrow_functions: bool) -> &'static str {
if supports_arrow_functions {
ALL_STRICT_ARROW_PREFIX
} else {
ALL_STRICT_FUNCTION_PREFIX
}
} }
/// Writes the module factories as `id, factory,` array elements, in order. /// Writes the module factories as `id, factory,` array elements, in order.
...@@ -82,41 +30,3 @@ pub fn write_module_factories( ...@@ -82,41 +30,3 @@ pub fn write_module_factories(
} }
Ok(()) Ok(())
} }
#[cfg(test)]
mod tests {
use super::*;
/// Minified length of the `"use strict";` directive that
/// `EcmascriptChunkItemContent::module_factory` writes into every strict factory, and that
/// the minimizer removes again inside a strict wrapper. The trailing newlines the factory
/// writes do not survive minification, so they are not counted. Kept here because only these
/// assertions need it.
const STRICT_MODE_DIRECTIVE_LEN: usize = "\"use strict\";".len();
fn minified_len(wrapper: &str) -> usize {
// Formatting whitespace is only added at line boundaries. Trim each line rather than all
// whitespace so the space inside the `"use strict"` string literal is preserved.
wrapper.lines().map(str::trim).map(str::len).sum()
}
/// `threshold` must be the smallest factory count worth grouping: one below it the directives
/// do not outweigh the wrapper, at the threshold they do.
fn assert_threshold(threshold: usize, wrapper: &str) {
let wrapper_len = minified_len(wrapper);
assert!((threshold - 1) * STRICT_MODE_DIRECTIVE_LEN <= wrapper_len);
assert!(threshold * STRICT_MODE_DIRECTIVE_LEN > wrapper_len);
}
#[test]
fn strict_thresholds_match_wrapper_sizes() {
assert_threshold(
ALL_STRICT_ARROW_THRESHOLD,
&format!("{ALL_STRICT_ARROW_PREFIX}{ALL_STRICT_SUFFIX}"),
);
assert_threshold(
ALL_STRICT_FUNCTION_THRESHOLD,
&format!("{ALL_STRICT_FUNCTION_PREFIX}{ALL_STRICT_SUFFIX}"),
);
}
}
...@@ -38,9 +38,7 @@ pub use self::{ ...@@ -38,9 +38,7 @@ pub use self::{
content::EcmascriptChunkContent, content::EcmascriptChunkContent,
content_entry::{EcmascriptChunkContentEntries, EcmascriptChunkContentEntry}, content_entry::{EcmascriptChunkContentEntries, EcmascriptChunkContentEntry},
data::EcmascriptChunkData, data::EcmascriptChunkData,
factory_group::{ factory_group::{chunk_has_strict_directive, write_module_factories},
StrictFactoryMode, strict_chunk_wrapper, strict_factory_mode, write_module_factories,
},
item::{ item::{
EcmascriptChunkItem, EcmascriptChunkItemCode, EcmascriptChunkItemContent, EcmascriptChunkItem, EcmascriptChunkItemCode, EcmascriptChunkItemContent,
EcmascriptChunkItemExt, EcmascriptChunkItemOptions, EcmascriptChunkItemWithAsyncInfo, EcmascriptChunkItemExt, EcmascriptChunkItemOptions, EcmascriptChunkItemWithAsyncInfo,
......
...@@ -28,7 +28,7 @@ use swc_core::{ ...@@ -28,7 +28,7 @@ use swc_core::{
use tracing::instrument; use tracing::instrument;
use turbopack_core::{ use turbopack_core::{
chunk::MangleType, chunk::MangleType,
code_builder::{Code, CodeBuilder}, code_builder::{Code, CodeBuilder, STRICT_DIRECTIVE},
}; };
use crate::parse::{IdentCollector, generate_js_source_map}; use crate::parse::{IdentCollector, generate_js_source_map};
...@@ -40,6 +40,7 @@ pub fn minify(code: Code, source_maps: bool, mangle: Option<MangleType>) -> Resu ...@@ -40,6 +40,7 @@ pub fn minify(code: Code, source_maps: bool, mangle: Option<MangleType>) -> Resu
let source_maps = source_maps.then(|| code.generate_source_map_ref(None)); let source_maps = source_maps.then(|| code.generate_source_map_ref(None));
let generate_debug_id = code.should_generate_debug_id(); let generate_debug_id = code.should_generate_debug_id();
let strict_directive_prefix = code.has_strict_directive_prefix();
let source_code = BytesStr::from_utf8(code.into_source_code().into_bytes())?; let source_code = BytesStr::from_utf8(code.into_source_code().into_bytes())?;
let cm = Arc::new(SwcSourceMap::new(FilePathMapping::empty())); let cm = Arc::new(SwcSourceMap::new(FilePathMapping::empty()));
...@@ -146,6 +147,27 @@ pub fn minify(code: Code, source_maps: bool, mangle: Option<MangleType>) -> Resu ...@@ -146,6 +147,27 @@ pub fn minify(code: Code, source_maps: bool, mangle: Option<MangleType>) -> Resu
}; };
let mut builder = CodeBuilder::new(source_maps.is_some(), generate_debug_id); let mut builder = CodeBuilder::new(source_maps.is_some(), generate_debug_id);
let mut src = src;
if strict_directive_prefix {
// Keep the directive an unmapped prefix of its own, so the debug id snippet can be written
// after it. The source map then has to describe the rest of the code only.
if !src.starts_with(STRICT_DIRECTIVE) {
bail!("the minified code no longer starts with its strict mode directive");
}
src.replace_range(..STRICT_DIRECTIVE.len(), "");
let prefix_len = STRICT_DIRECTIVE.len() as u32;
src_map_buf.retain_mut(|(_, generated)| {
if generated.line != 0 {
return true;
}
if generated.col < prefix_len {
return false;
}
generated.col -= prefix_len;
true
});
builder.push_strict_directive_prefix();
}
if let Some(original_map) = source_maps.as_ref() { if let Some(original_map) = source_maps.as_ref() {
src_map_buf.shrink_to_fit(); src_map_buf.shrink_to_fit();
builder.push_source( builder.push_source(
...@@ -204,3 +226,91 @@ fn print_program( ...@@ -204,3 +226,91 @@ fn print_program(
Ok((src, src_map_buf)) Ok((src, src_map_buf))
} }
#[cfg(test)]
mod tests {
use turbo_tasks_fs::rope::Rope;
use turbopack_core::{
code_builder::{CodeBuilder, STRICT_DIRECTIVE},
source_map::{SourceMap, Token},
};
use super::minify;
const DEBUG_ID: &str = "00000000-0000-0000-0000-000000000000";
/// `(generated line, generated column, original line, original column)` of the original tokens.
fn tokens(map: &Rope) -> Vec<(u32, u32, u32, u32)> {
SourceMap::new_from_rope(map)
.unwrap()
.unwrap()
.tokens()
.filter_map(|token| match token {
Token::Original(t) => Some((
t.generated_line,
t.generated_column,
t.original_line,
t.original_column,
)),
Token::Synthetic(_) => None,
})
.collect()
}
#[test]
fn minify_keeps_the_strict_directive_an_unmapped_prefix() {
let mut builder = swc_sourcemap::SourceMapBuilder::new(None);
let src = builder.add_source("turbopack:///[project]/a.js".into());
// Without source contents, the original positions are lost when the minifier composes the
// maps.
builder.set_source_contents(src, Some("original".into()));
builder.add_raw(0, 0, 0, 0, Some(src), None, false);
builder.add_raw(1, 0, 1, 0, Some(src), None, false);
let mut map = Vec::new();
builder.into_sourcemap().to_writer(&mut map).unwrap();
let map = Rope::from(map);
let source = Rope::from(
"\"a\", (ctx) => {\nctx.x = (function () { return this; })(\"\u{fc}\");\n}".to_string(),
);
let build = |marked| {
let mut code = CodeBuilder::new(true, true);
if marked {
code.push_strict_directive_prefix();
} else {
code += STRICT_DIRECTIVE;
}
code += "(globalThis.x || (globalThis.x = [])).push([\n";
code.push_source(&source, Some(map.clone()));
code += "\n]);";
minify(code.build(), true, None).unwrap()
};
let unmarked = build(false);
let minified = build(true);
assert!(minified.has_strict_directive_prefix());
assert_eq!(minified.source_code(), unmarked.source_code());
let source = minified.source_code().to_str().unwrap().into_owned();
assert!(source.starts_with(STRICT_DIRECTIVE), "{source}");
assert!(!source[STRICT_DIRECTIVE.len()..].contains("use strict"));
let plain = tokens(&minified.generate_source_map_ref(None));
assert_eq!(plain, tokens(&unmarked.generate_source_map_ref(None)));
assert!(!plain.is_empty());
let prefix_len = STRICT_DIRECTIVE.len() as u32;
let expected: Vec<_> = plain
.iter()
.map(|&(line, column, original_line, original_column)| {
if line == 0 {
assert!(column >= prefix_len, "the prefix is unmapped");
(1, column - prefix_len, original_line, original_column)
} else {
(line + 1, column, original_line, original_column)
}
})
.collect();
assert_eq!(
tokens(&minified.generate_source_map_ref(Some(DEBUG_ID.into()))),
expected
);
}
}
...@@ -11,8 +11,8 @@ use turbopack_core::{ ...@@ -11,8 +11,8 @@ use turbopack_core::{
}; };
use turbopack_ecmascript::{ use turbopack_ecmascript::{
chunk::{ chunk::{
EcmascriptChunkContent, EcmascriptChunkContentEntries, strict_chunk_wrapper, EcmascriptChunkContent, EcmascriptChunkContentEntries, chunk_has_strict_directive,
strict_factory_mode, write_module_factories, write_module_factories,
}, },
hmr::{ hmr::{
EcmascriptHmrChunkContent, merger::EcmascriptChunkContentMerger, EcmascriptHmrChunkContent, merger::EcmascriptChunkContentMerger,
...@@ -62,27 +62,14 @@ impl EcmascriptNodeChunkContent { ...@@ -62,27 +62,14 @@ impl EcmascriptNodeChunkContent {
.await?; .await?;
let mut code = CodeBuilder::new(true, *self.chunking_context.debug_ids_enabled().await?); let mut code = CodeBuilder::new(true, *self.chunking_context.debug_ids_enabled().await?);
let supports_arrow_functions = *self
.chunking_context
.environment()
.runtime_versions()
.supports_arrow_functions()
.await?;
let content = self.content.await?; let content = self.content.await?;
let chunk_items = content.chunk_item_code_module_ids_and_paths().await?; let chunk_items = content.chunk_item_code_module_ids_and_paths().await?;
let strict_factory_mode = strict_factory_mode(&chunk_items, supports_arrow_functions); if chunk_has_strict_directive(&chunk_items) {
code.push_strict_directive_prefix();
let strict_chunk_wrapper =
strict_chunk_wrapper(strict_factory_mode, supports_arrow_functions);
if let Some((prefix, _)) = strict_chunk_wrapper {
code += prefix;
} }
write!(code, "module.exports = [")?; write!(code, "module.exports = [")?;
write_module_factories(&mut code, &chunk_items)?; write_module_factories(&mut code, &chunk_items)?;
write!(code, "\n];")?; write!(code, "\n];")?;
if let Some((_, suffix)) = strict_chunk_wrapper {
code += suffix;
}
let mut code = code.build(); let mut code = code.build();
......
...@@ -295,6 +295,9 @@ struct TestOptions { ...@@ -295,6 +295,9 @@ struct TestOptions {
cjs_scope_hoisting: bool, cjs_scope_hoisting: bool,
#[serde(default)] #[serde(default)]
minify: bool, minify: bool,
/// Emits debug IDs (the `_debugIds` snippet and `//# debugId=` comment) in the output chunks.
#[serde(default)]
debug_ids: bool,
#[serde(default)] #[serde(default)]
production_chunking: bool, production_chunking: bool,
#[serde(default)] #[serde(default)]
...@@ -333,6 +336,7 @@ impl Default for TestOptions { ...@@ -333,6 +336,7 @@ impl Default for TestOptions {
cross_module_constants: true, cross_module_constants: true,
infer_module_side_effects: default_true(), infer_module_side_effects: default_true(),
minify: false, minify: false,
debug_ids: false,
production_chunking: false, production_chunking: false,
global_module_ids: false, global_module_ids: false,
numeric_module_ids: false, numeric_module_ids: false,
...@@ -628,6 +632,7 @@ async fn run_test_operation(prepared_test: ResolvedVc<PreparedTest>) -> Result<V ...@@ -628,6 +632,7 @@ async fn run_test_operation(prepared_test: ResolvedVc<PreparedTest>) -> Result<V
} else { } else {
MinifyType::NoMinify MinifyType::NoMinify
}) })
.debug_ids(options.debug_ids)
.export_usage(if options.remove_unused_exports { .export_usage(if options.remove_unused_exports {
Some(binding_usage.unwrap().connect().to_resolved().await?) Some(binding_usage.unwrap().connect().to_resolved().await?)
} else { } else {
......
import { strictA } from './strict-a.js'
import { strictB } from './strict-b.js'
// With debug IDs, the `_debugIds` snippet must not come before the file-level `"use strict"` directive.
it('keeps the factories of an all-strict chunk strict', () => {
expect(strictA).toBe(undefined)
expect(strictB).toBe(undefined)
})
// An ES module is strict, so `this` in a plain function call is undefined.
export const strictA = (function () {
return this
})()
import { strictA } from './strict-a.js'
import { strictB } from './strict-b.js'
// Unminified, with debug IDs: the factories of an all-strict chunk stay strict.
it('keeps the factories of an all-strict chunk strict', () => {
expect(strictA).toBe(undefined)
expect(strictB).toBe(undefined)
})
// An ES module is strict, so `this` in a plain function call is undefined.
export const strictA = (function () {
return this
})()
import { strictA } from './strict-a.js'
import { strictB } from './strict-b.js'
// A chunk whose module factories are all strict carries one file-level `"use strict"` directive.
it('keeps the factories of an all-strict chunk strict', () => {
expect(strictA).toBe(undefined)
expect(strictB).toBe(undefined)
})
// An ES module is strict, so `this` in a plain function call is undefined.
export const strictA = (function () {
return this
})()
(()=>{"use strict";(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/1jsg_tests_snapshot_basic-tree-shake_dynamic-import_input_lib_1b34ju5a6z6v3.js", "use strict";(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/1jsg_tests_snapshot_basic-tree-shake_dynamic-import_input_lib_1b34ju5a6z6v3.js",
"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/input/lib.js [test] (ecmascript)", ((__turbopack_context__) => { "[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/dynamic-import/input/lib.js [test] (ecmascript)", ((__turbopack_context__) => {
"use strict"; "use strict";
...@@ -180,6 +180,6 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ...@@ -180,6 +180,6 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo
; ;
; ;
}), }),
]);})() ]);
//# sourceMappingURL=1jsg_tests_snapshot_basic-tree-shake_dynamic-import_input_lib_1b34ju5a6z6v3.js.map //# sourceMappingURL=1jsg_tests_snapshot_basic-tree-shake_dynamic-import_input_lib_1b34ju5a6z6v3.js.map
\ No newline at end of file
(()=>{"use strict";(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/1jsg_tests_snapshot_basic-tree-shake_export-named_input_0xj7cshvyczs_._.js", "use strict";(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/1jsg_tests_snapshot_basic-tree-shake_export-named_input_0xj7cshvyczs_._.js",
"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-named/input/index.js [test] (ecmascript)", ((__turbopack_context__) => { "[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-named/input/index.js [test] (ecmascript)", ((__turbopack_context__) => {
"use strict"; "use strict";
...@@ -92,6 +92,6 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ...@@ -92,6 +92,6 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo
; ;
; ;
}), }),
]);})() ]);
//# sourceMappingURL=1jsg_tests_snapshot_basic-tree-shake_export-named_input_0xj7cshvyczs_._.js.map //# sourceMappingURL=1jsg_tests_snapshot_basic-tree-shake_export-named_input_0xj7cshvyczs_._.js.map
\ No newline at end of file
(()=>{"use strict";(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/1jsg_tests_snapshot_basic-tree-shake_export-namespace_input_1mqgz2-3_b4v8._.js", "use strict";(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/1jsg_tests_snapshot_basic-tree-shake_export-namespace_input_1mqgz2-3_b4v8._.js",
"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/index.js [test] (ecmascript)", ((__turbopack_context__) => { "[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/export-namespace/input/index.js [test] (ecmascript)", ((__turbopack_context__) => {
"use strict"; "use strict";
...@@ -187,6 +187,6 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ...@@ -187,6 +187,6 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo
; ;
; ;
}), }),
]);})() ]);
//# sourceMappingURL=1jsg_tests_snapshot_basic-tree-shake_export-namespace_input_1mqgz2-3_b4v8._.js.map //# sourceMappingURL=1jsg_tests_snapshot_basic-tree-shake_export-namespace_input_1mqgz2-3_b4v8._.js.map
\ No newline at end of file
(()=>{"use strict";(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/1jsg_tests_snapshot_basic-tree-shake_import-named-all_input_1orhvu2sihqe-._.js", "use strict";(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/1jsg_tests_snapshot_basic-tree-shake_import-named-all_input_1orhvu2sihqe-._.js",
"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named-all/input/index.js [test] (ecmascript)", ((__turbopack_context__) => { "[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named-all/input/index.js [test] (ecmascript)", ((__turbopack_context__) => {
"use strict"; "use strict";
...@@ -75,6 +75,6 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ...@@ -75,6 +75,6 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo
; ;
; ;
}), }),
]);})() ]);
//# sourceMappingURL=1jsg_tests_snapshot_basic-tree-shake_import-named-all_input_1orhvu2sihqe-._.js.map //# sourceMappingURL=1jsg_tests_snapshot_basic-tree-shake_import-named-all_input_1orhvu2sihqe-._.js.map
\ No newline at end of file
(()=>{"use strict";(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/1jsg_tests_snapshot_basic-tree-shake_import-named_input_1j9uhcyhqdoze._.js", "use strict";(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/1jsg_tests_snapshot_basic-tree-shake_import-named_input_1j9uhcyhqdoze._.js",
"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named/input/index.js [test] (ecmascript)", ((__turbopack_context__) => { "[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-named/input/index.js [test] (ecmascript)", ((__turbopack_context__) => {
"use strict"; "use strict";
...@@ -75,6 +75,6 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ...@@ -75,6 +75,6 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo
; ;
; ;
}), }),
]);})() ]);
//# sourceMappingURL=1jsg_tests_snapshot_basic-tree-shake_import-named_input_1j9uhcyhqdoze._.js.map //# sourceMappingURL=1jsg_tests_snapshot_basic-tree-shake_import-named_input_1j9uhcyhqdoze._.js.map
\ No newline at end of file
(()=>{"use strict";(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/1jsg_tests_snapshot_basic-tree-shake_import-namespace_input_1ippwh3yc_l3v._.js", "use strict";(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/1jsg_tests_snapshot_basic-tree-shake_import-namespace_input_1ippwh3yc_l3v._.js",
"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/input/index.js [test] (ecmascript)", ((__turbopack_context__) => { "[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-namespace/input/index.js [test] (ecmascript)", ((__turbopack_context__) => {
"use strict"; "use strict";
...@@ -171,6 +171,6 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ...@@ -171,6 +171,6 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo
; ;
; ;
}), }),
]);})() ]);
//# sourceMappingURL=1jsg_tests_snapshot_basic-tree-shake_import-namespace_input_1ippwh3yc_l3v._.js.map //# sourceMappingURL=1jsg_tests_snapshot_basic-tree-shake_import-namespace_input_1ippwh3yc_l3v._.js.map
\ No newline at end of file
(()=>{"use strict";(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/1jsg_tests_snapshot_basic-tree-shake_import-side-effect_input_1_hdh9its1vdz._.js", "use strict";(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/1jsg_tests_snapshot_basic-tree-shake_import-side-effect_input_1_hdh9its1vdz._.js",
"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-side-effect/input/index.js [test] (ecmascript)", ((__turbopack_context__) => { "[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/import-side-effect/input/index.js [test] (ecmascript)", ((__turbopack_context__) => {
"use strict"; "use strict";
...@@ -51,6 +51,6 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ...@@ -51,6 +51,6 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo
; ;
__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$side$2d$effect$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__0$3e$__["a"] += '!'; __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2d$tree$2d$shake$2f$import$2d$side$2d$effect$2f$input$2f$lib$2e$js__$5b$test$5d$__$28$ecmascript$29$__$3c$internal__part__0$3e$__["a"] += '!';
}), }),
]);})() ]);
//# sourceMappingURL=1jsg_tests_snapshot_basic-tree-shake_import-side-effect_input_1_hdh9its1vdz._.js.map //# sourceMappingURL=1jsg_tests_snapshot_basic-tree-shake_import-side-effect_input_1_hdh9its1vdz._.js.map
\ No newline at end of file
(()=>{"use strict";(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/1jsg_tests_snapshot_basic-tree-shake_tree-shake-test-1_input_index_07jttq51-r0-b.js", "use strict";(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/1jsg_tests_snapshot_basic-tree-shake_tree-shake-test-1_input_index_07jttq51-r0-b.js",
"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/tree-shake-test-1/input/index.js [test] (ecmascript)", ((__turbopack_context__) => { "[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic-tree-shake/tree-shake-test-1/input/index.js [test] (ecmascript)", ((__turbopack_context__) => {
"use strict"; "use strict";
...@@ -180,6 +180,6 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ...@@ -180,6 +180,6 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo
; ;
; ;
}), }),
]);})() ]);
//# sourceMappingURL=1jsg_tests_snapshot_basic-tree-shake_tree-shake-test-1_input_index_07jttq51-r0-b.js.map //# sourceMappingURL=1jsg_tests_snapshot_basic-tree-shake_tree-shake-test-1_input_index_07jttq51-r0-b.js.map
\ No newline at end of file
(()=>{"use strict";(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/1do3_crates_turbopack-tests_tests_snapshot_basic_async_chunk_input_1lkohl-aes1w9._.js", "use strict";(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/1do3_crates_turbopack-tests_tests_snapshot_basic_async_chunk_input_1lkohl-aes1w9._.js",
"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk/input/import.js [test] (ecmascript)", ((__turbopack_context__) => { "[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk/input/import.js [test] (ecmascript)", ((__turbopack_context__) => {
"use strict"; "use strict";
...@@ -23,6 +23,6 @@ function foo(value) { ...@@ -23,6 +23,6 @@ function foo(value) {
console.assert(value); console.assert(value);
} }
}), }),
]);})() ]);
//# sourceMappingURL=1do3_crates_turbopack-tests_tests_snapshot_basic_async_chunk_input_1lkohl-aes1w9._.js.map //# sourceMappingURL=1do3_crates_turbopack-tests_tests_snapshot_basic_async_chunk_input_1lkohl-aes1w9._.js.map
\ No newline at end of file
(()=>{"use strict";module.exports = [ "use strict";module.exports = [
"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk_build/input/import.js [test] (ecmascript)", ((__turbopack_context__) => { "[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/async_chunk_build/input/import.js [test] (ecmascript)", ((__turbopack_context__) => {
"use strict"; "use strict";
...@@ -23,6 +23,6 @@ function foo(value) { ...@@ -23,6 +23,6 @@ function foo(value) {
console.assert(value); console.assert(value);
} }
}), }),
];})() ];
//# sourceMappingURL=0_9x_turbopack-tests_tests_snapshot_basic_async_chunk_build_input_0aldykipaj64f._.js.map //# sourceMappingURL=0_9x_turbopack-tests_tests_snapshot_basic_async_chunk_build_input_0aldykipaj64f._.js.map
\ No newline at end of file
(()=>{"use strict";(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/1do3_crates_turbopack-tests_tests_snapshot_basic_chunked_input_1_yzgm1kllkx5._.js", "use strict";(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/1do3_crates_turbopack-tests_tests_snapshot_basic_chunked_input_1_yzgm1kllkx5._.js",
"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/chunked/input/index.js [test] (ecmascript)", ((__turbopack_context__) => { "[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/chunked/input/index.js [test] (ecmascript)", ((__turbopack_context__) => {
"use strict"; "use strict";
...@@ -18,6 +18,6 @@ function foo(value) { ...@@ -18,6 +18,6 @@ function foo(value) {
console.assert(value); console.assert(value);
} }
}), }),
]);})() ]);
//# sourceMappingURL=1do3_crates_turbopack-tests_tests_snapshot_basic_chunked_input_1_yzgm1kllkx5._.js.map //# sourceMappingURL=1do3_crates_turbopack-tests_tests_snapshot_basic_chunked_input_1_yzgm1kllkx5._.js.map
\ No newline at end of file
(()=>{"use strict";(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/1do3_crates_turbopack-tests_tests_snapshot_basic_export-default_input_1k9-ja77l7ynd._.js", "use strict";(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/1do3_crates_turbopack-tests_tests_snapshot_basic_export-default_input_1k9-ja77l7ynd._.js",
"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/export-default/input/index.js [test] (ecmascript)", ((__turbopack_context__) => { "[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/export-default/input/index.js [test] (ecmascript)", ((__turbopack_context__) => {
"use strict"; "use strict";
...@@ -19,6 +19,6 @@ __turbopack_context__.s([ ...@@ -19,6 +19,6 @@ __turbopack_context__.s([
__TURBOPACK__default__export__ __TURBOPACK__default__export__
]); ]);
}), }),
]);})() ]);
//# sourceMappingURL=1do3_crates_turbopack-tests_tests_snapshot_basic_export-default_input_1k9-ja77l7ynd._.js.map //# sourceMappingURL=1do3_crates_turbopack-tests_tests_snapshot_basic_export-default_input_1k9-ja77l7ynd._.js.map
\ No newline at end of file
(()=>{"use strict";(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/1do3_crates_turbopack-tests_tests_snapshot_basic_shebang_input_02e38zhtmusm6._.js", "use strict";(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/1do3_crates_turbopack-tests_tests_snapshot_basic_shebang_input_02e38zhtmusm6._.js",
"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/shebang/input/index.js [test] (ecmascript)", ((__turbopack_context__) => { "[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/shebang/input/index.js [test] (ecmascript)", ((__turbopack_context__) => {
"use strict"; "use strict";
...@@ -18,6 +18,6 @@ function foo(value) { ...@@ -18,6 +18,6 @@ function foo(value) {
console.assert(value); console.assert(value);
} }
}), }),
]);})() ]);
//# sourceMappingURL=1do3_crates_turbopack-tests_tests_snapshot_basic_shebang_input_02e38zhtmusm6._.js.map //# sourceMappingURL=1do3_crates_turbopack-tests_tests_snapshot_basic_shebang_input_02e38zhtmusm6._.js.map
\ No newline at end of file
(()=>{"use strict";(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/1do3_crates_turbopack-tests_tests_snapshot_basic_top-level-await_input_0zs_dr_r82cwm._.js", "use strict";(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/1do3_crates_turbopack-tests_tests_snapshot_basic_top-level-await_input_0zs_dr_r82cwm._.js",
"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/top-level-await/input/UserAPI.js [test] (ecmascript)", ((__turbopack_context__) => { "[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/top-level-await/input/UserAPI.js [test] (ecmascript)", ((__turbopack_context__) => {
"use strict"; "use strict";
...@@ -49,6 +49,6 @@ const close = ()=>{ ...@@ -49,6 +49,6 @@ const close = ()=>{
}; };
__turbopack_async_result__(); __turbopack_async_result__();
} catch(e) { __turbopack_async_result__(e); } }, true);}), } catch(e) { __turbopack_async_result__(e); } }, true);}),
]);})() ]);
//# sourceMappingURL=1do3_crates_turbopack-tests_tests_snapshot_basic_top-level-await_input_0zs_dr_r82cwm._.js.map //# sourceMappingURL=1do3_crates_turbopack-tests_tests_snapshot_basic_top-level-await_input_0zs_dr_r82cwm._.js.map
\ No newline at end of file
(()=>{"use strict";(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/1do3_crates_turbopack-tests_tests_snapshot_basic_top-level-await_input_1ih204k-kik67._.js", "use strict";(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/1do3_crates_turbopack-tests_tests_snapshot_basic_top-level-await_input_1ih204k-kik67._.js",
"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/top-level-await/input/Actions.js [test] (ecmascript)", ((__turbopack_context__) => { "[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/top-level-await/input/Actions.js [test] (ecmascript)", ((__turbopack_context__) => {
"use strict"; "use strict";
...@@ -34,6 +34,6 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ...@@ -34,6 +34,6 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo
console.log('created user John'); console.log('created user John');
})(); })();
}), }),
]);})() ]);
//# sourceMappingURL=1do3_crates_turbopack-tests_tests_snapshot_basic_top-level-await_input_1ih204k-kik67._.js.map //# sourceMappingURL=1do3_crates_turbopack-tests_tests_snapshot_basic_top-level-await_input_1ih204k-kik67._.js.map
\ No newline at end of file
(()=>{"use strict";(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/1do3_crates_turbopack-tests_tests_snapshot_basic_use-strict_input_1fuq2pc5luz9r._.js", "use strict";(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/1do3_crates_turbopack-tests_tests_snapshot_basic_use-strict_input_1fuq2pc5luz9r._.js",
"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/use-strict/input/all-strict-a.js [test] (ecmascript)", ((__turbopack_context__) => { "[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/use-strict/input/all-strict-a.js [test] (ecmascript)", ((__turbopack_context__) => {
"use strict"; "use strict";
...@@ -30,6 +30,6 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ...@@ -30,6 +30,6 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo
; ;
const value = __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2f$use$2d$strict$2f$input$2f$all$2d$strict$2d$a$2e$js__$5b$test$5d$__$28$ecmascript$29$__["a"] + __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2f$use$2d$strict$2f$input$2f$all$2d$strict$2d$b$2e$js__$5b$test$5d$__$28$ecmascript$29$__["b"]; const value = __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2f$use$2d$strict$2f$input$2f$all$2d$strict$2d$a$2e$js__$5b$test$5d$__$28$ecmascript$29$__["a"] + __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$basic$2f$use$2d$strict$2f$input$2f$all$2d$strict$2d$b$2e$js__$5b$test$5d$__$28$ecmascript$29$__["b"];
}), }),
]);})() ]);
//# sourceMappingURL=1do3_crates_turbopack-tests_tests_snapshot_basic_use-strict_input_1fuq2pc5luz9r._.js.map //# sourceMappingURL=1do3_crates_turbopack-tests_tests_snapshot_basic_use-strict_input_1fuq2pc5luz9r._.js.map
\ No newline at end of file
(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/1jsg_tests_snapshot_basic_use-strict_input_below-threshold_1my1mnvsmmqb0.js", "use strict";(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/1jsg_tests_snapshot_basic_use-strict_input_below-threshold_1my1mnvsmmqb0.js",
"[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/use-strict/input/below-threshold.js [test] (ecmascript)", ((__turbopack_context__) => { "[project]/turbopack/crates/turbopack-tests/tests/snapshot/basic/use-strict/input/below-threshold.js [test] (ecmascript)", ((__turbopack_context__) => {
"use strict"; "use strict";
......
(()=>{"use strict";(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/1jsg_tests_snapshot_comptime_cross-module-attribute_input_0scutbfo13k0p._.js", "use strict";(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/1jsg_tests_snapshot_comptime_cross-module-attribute_input_0scutbfo13k0p._.js",
"[project]/turbopack/crates/turbopack-tests/tests/snapshot/comptime/cross-module-attribute/input/index.js [test] (ecmascript)", ((__turbopack_context__) => { "[project]/turbopack/crates/turbopack-tests/tests/snapshot/comptime/cross-module-attribute/input/index.js [test] (ecmascript)", ((__turbopack_context__) => {
"use strict"; "use strict";
...@@ -57,6 +57,6 @@ __turbopack_context__.s([ ...@@ -57,6 +57,6 @@ __turbopack_context__.s([
const lower = 'lowercase'; const lower = 'lowercase';
const UPPER = 'UPPER'; const UPPER = 'UPPER';
}), }),
]);})() ]);
//# sourceMappingURL=1jsg_tests_snapshot_comptime_cross-module-attribute_input_0scutbfo13k0p._.js.map //# sourceMappingURL=1jsg_tests_snapshot_comptime_cross-module-attribute_input_0scutbfo13k0p._.js.map
\ No newline at end of file
(()=>{"use strict";(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/0_9x_turbopack-tests_tests_snapshot_comptime_cross-module-barrel_input_0pg1--73_0gbu._.js", "use strict";(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/0_9x_turbopack-tests_tests_snapshot_comptime_cross-module-barrel_input_0pg1--73_0gbu._.js",
"[project]/turbopack/crates/turbopack-tests/tests/snapshot/comptime/cross-module-barrel/input/index.js [test] (ecmascript)", ((__turbopack_context__) => { "[project]/turbopack/crates/turbopack-tests/tests/snapshot/comptime/cross-module-barrel/input/index.js [test] (ecmascript)", ((__turbopack_context__) => {
"use strict"; "use strict";
...@@ -28,6 +28,6 @@ function foo() { ...@@ -28,6 +28,6 @@ function foo() {
return 123; return 123;
} }
}), }),
]);})() ]);
//# sourceMappingURL=0_9x_turbopack-tests_tests_snapshot_comptime_cross-module-barrel_input_0pg1--73_0gbu._.js.map //# sourceMappingURL=0_9x_turbopack-tests_tests_snapshot_comptime_cross-module-barrel_input_0pg1--73_0gbu._.js.map
\ No newline at end of file
(()=>{"use strict";(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/1jsg_tests_snapshot_comptime_cross-module-cycle-constant_input_13shj11lx78r9._.js", "use strict";(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/1jsg_tests_snapshot_comptime_cross-module-cycle-constant_input_13shj11lx78r9._.js",
"[project]/turbopack/crates/turbopack-tests/tests/snapshot/comptime/cross-module-cycle-constant/input/index.js [test] (ecmascript)", ((__turbopack_context__) => { "[project]/turbopack/crates/turbopack-tests/tests/snapshot/comptime/cross-module-cycle-constant/input/index.js [test] (ecmascript)", ((__turbopack_context__) => {
"use strict"; "use strict";
...@@ -29,6 +29,6 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ...@@ -29,6 +29,6 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo
; ;
const TWO = '2' + __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$comptime$2f$cross$2d$module$2d$cycle$2d$constant$2f$input$2f$multiple$2d$1$2e$js__$5b$test$5d$__$28$ecmascript$29$__["ONE"]; const TWO = '2' + __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$comptime$2f$cross$2d$module$2d$cycle$2d$constant$2f$input$2f$multiple$2d$1$2e$js__$5b$test$5d$__$28$ecmascript$29$__["ONE"];
}), }),
]);})() ]);
//# sourceMappingURL=1jsg_tests_snapshot_comptime_cross-module-cycle-constant_input_13shj11lx78r9._.js.map //# sourceMappingURL=1jsg_tests_snapshot_comptime_cross-module-cycle-constant_input_13shj11lx78r9._.js.map
\ No newline at end of file
(()=>{"use strict";(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/1jsg_tests_snapshot_comptime_cross-module-cycle-dynamic_input_0y6rllfq_jecq._.js", "use strict";(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/1jsg_tests_snapshot_comptime_cross-module-cycle-dynamic_input_0y6rllfq_jecq._.js",
"[project]/turbopack/crates/turbopack-tests/tests/snapshot/comptime/cross-module-cycle-dynamic/input/index.js [test] (ecmascript)", ((__turbopack_context__) => { "[project]/turbopack/crates/turbopack-tests/tests/snapshot/comptime/cross-module-cycle-dynamic/input/index.js [test] (ecmascript)", ((__turbopack_context__) => {
"use strict"; "use strict";
...@@ -54,6 +54,6 @@ function foo1(left, right) { ...@@ -54,6 +54,6 @@ function foo1(left, right) {
} }
; ;
}), }),
]);})() ]);
//# sourceMappingURL=1jsg_tests_snapshot_comptime_cross-module-cycle-dynamic_input_0y6rllfq_jecq._.js.map //# sourceMappingURL=1jsg_tests_snapshot_comptime_cross-module-cycle-dynamic_input_0y6rllfq_jecq._.js.map
\ No newline at end of file
(()=>{"use strict";(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/1jsg_tests_snapshot_comptime_cross-module-imported_input_1h-za4-_ttkv-._.js", "use strict";(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/1jsg_tests_snapshot_comptime_cross-module-imported_input_1h-za4-_ttkv-._.js",
"[project]/turbopack/crates/turbopack-tests/tests/snapshot/comptime/cross-module-imported/input/index.js [test] (ecmascript)", ((__turbopack_context__) => { "[project]/turbopack/crates/turbopack-tests/tests/snapshot/comptime/cross-module-imported/input/index.js [test] (ecmascript)", ((__turbopack_context__) => {
"use strict"; "use strict";
...@@ -45,6 +45,6 @@ __turbopack_context__.s([ ...@@ -45,6 +45,6 @@ __turbopack_context__.s([
const REEXPORTED = 'reexported'; const REEXPORTED = 'reexported';
const IMPORTED_EXPORTED = 'imported exported'; const IMPORTED_EXPORTED = 'imported exported';
}), }),
]);})() ]);
//# sourceMappingURL=1jsg_tests_snapshot_comptime_cross-module-imported_input_1h-za4-_ttkv-._.js.map //# sourceMappingURL=1jsg_tests_snapshot_comptime_cross-module-imported_input_1h-za4-_ttkv-._.js.map
\ No newline at end of file
(()=>{"use strict";(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/1jsg_tests_snapshot_comptime_cross-module-long-literals_input_1dlt5gz60hx2n._.js", "use strict";(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/1jsg_tests_snapshot_comptime_cross-module-long-literals_input_1dlt5gz60hx2n._.js",
"[project]/turbopack/crates/turbopack-tests/tests/snapshot/comptime/cross-module-long-literals/input/index.js [test] (ecmascript)", ((__turbopack_context__) => { "[project]/turbopack/crates/turbopack-tests/tests/snapshot/comptime/cross-module-long-literals/input/index.js [test] (ecmascript)", ((__turbopack_context__) => {
"use strict"; "use strict";
...@@ -52,6 +52,6 @@ const REGEX = /ab/i; ...@@ -52,6 +52,6 @@ const REGEX = /ab/i;
const NAN = NaN; const NAN = NaN;
const INFINITY = Infinity; const INFINITY = Infinity;
}), }),
]);})() ]);
//# sourceMappingURL=1jsg_tests_snapshot_comptime_cross-module-long-literals_input_1dlt5gz60hx2n._.js.map //# sourceMappingURL=1jsg_tests_snapshot_comptime_cross-module-long-literals_input_1dlt5gz60hx2n._.js.map
\ No newline at end of file
(()=>{"use strict";(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/0_9x_turbopack-tests_tests_snapshot_comptime_cross-module-strict_input_0lz7wh6sby-77._.js", "use strict";(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/0_9x_turbopack-tests_tests_snapshot_comptime_cross-module-strict_input_0lz7wh6sby-77._.js",
"[project]/turbopack/crates/turbopack-tests/tests/snapshot/comptime/cross-module-strict/input/index.js [test] (ecmascript)", ((__turbopack_context__) => { "[project]/turbopack/crates/turbopack-tests/tests/snapshot/comptime/cross-module-strict/input/index.js [test] (ecmascript)", ((__turbopack_context__) => {
"use strict"; "use strict";
...@@ -51,6 +51,6 @@ const LONG_NUMBER = 21345672345678345678901234567890; ...@@ -51,6 +51,6 @@ const LONG_NUMBER = 21345672345678345678901234567890;
const LONG_BIG_NUMBER = 21345672345678345678901234567890n; const LONG_BIG_NUMBER = 21345672345678345678901234567890n;
const LONG_REGEX = /abcdefghijklmnopqrstuvwxyz0123456789abcdefghijklmnopqrstuvwxyz0123456789/i; const LONG_REGEX = /abcdefghijklmnopqrstuvwxyz0123456789abcdefghijklmnopqrstuvwxyz0123456789/i;
}), }),
]);})() ]);
//# sourceMappingURL=0_9x_turbopack-tests_tests_snapshot_comptime_cross-module-strict_input_0lz7wh6sby-77._.js.map //# sourceMappingURL=0_9x_turbopack-tests_tests_snapshot_comptime_cross-module-strict_input_0lz7wh6sby-77._.js.map
\ No newline at end of file
(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/0_9x_turbopack-tests_tests_snapshot_comptime_cross-module_input_index_0c0iaid0_edmx.js", "use strict";(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/0_9x_turbopack-tests_tests_snapshot_comptime_cross-module_input_index_0c0iaid0_edmx.js",
"[project]/turbopack/crates/turbopack-tests/tests/snapshot/comptime/cross-module/input/index.js [test] (ecmascript)", ((__turbopack_context__) => { "[project]/turbopack/crates/turbopack-tests/tests/snapshot/comptime/cross-module/input/index.js [test] (ecmascript)", ((__turbopack_context__) => {
"use strict"; "use strict";
......
(()=>{"use strict";(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/1do3_crates_turbopack-tests_tests_snapshot_comptime_early-return_input_00p0fdz0d5nhi._.js", "use strict";(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/1do3_crates_turbopack-tests_tests_snapshot_comptime_early-return_input_00p0fdz0d5nhi._.js",
"[project]/turbopack/crates/turbopack-tests/tests/snapshot/comptime/early-return/input/index.js [test] (ecmascript)", ((__turbopack_context__) => { "[project]/turbopack/crates/turbopack-tests/tests/snapshot/comptime/early-return/input/index.js [test] (ecmascript)", ((__turbopack_context__) => {
"use strict"; "use strict";
...@@ -226,6 +226,6 @@ z1(); ...@@ -226,6 +226,6 @@ z1();
return; return;
z2(); z2();
}), }),
]);})() ]);
//# sourceMappingURL=1do3_crates_turbopack-tests_tests_snapshot_comptime_early-return_input_00p0fdz0d5nhi._.js.map //# sourceMappingURL=1do3_crates_turbopack-tests_tests_snapshot_comptime_early-return_input_00p0fdz0d5nhi._.js.map
\ No newline at end of file
(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/1jsg_tests_snapshot_css_absolute-uri-import_input_index_1_zsn0ifr-p54.js", "use strict";(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/1jsg_tests_snapshot_css_absolute-uri-import_input_index_1_zsn0ifr-p54.js",
"[project]/turbopack/crates/turbopack-tests/tests/snapshot/css/absolute-uri-import/input/index.js [test] (ecmascript)", ((__turbopack_context__) => { "[project]/turbopack/crates/turbopack-tests/tests/snapshot/css/absolute-uri-import/input/index.js [test] (ecmascript)", ((__turbopack_context__) => {
"use strict"; "use strict";
......
(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/0_9x_turbopack-tests_tests_snapshot_css_chained-attributes_input_index_1rf1vtlk4s4b5.js", "use strict";(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/0_9x_turbopack-tests_tests_snapshot_css_chained-attributes_input_index_1rf1vtlk4s4b5.js",
"[project]/turbopack/crates/turbopack-tests/tests/snapshot/css/chained-attributes/input/index.js [test] (ecmascript)", ((__turbopack_context__) => { "[project]/turbopack/crates/turbopack-tests/tests/snapshot/css/chained-attributes/input/index.js [test] (ecmascript)", ((__turbopack_context__) => {
"use strict"; "use strict";
......
(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/0_9x_turbopack-tests_tests_snapshot_css_css-legacy-nesting_input_index_1mehjwlmz_6b4.js", "use strict";(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/0_9x_turbopack-tests_tests_snapshot_css_css-legacy-nesting_input_index_1mehjwlmz_6b4.js",
"[project]/turbopack/crates/turbopack-tests/tests/snapshot/css/css-legacy-nesting/input/index.js [test] (ecmascript)", ((__turbopack_context__) => { "[project]/turbopack/crates/turbopack-tests/tests/snapshot/css/css-legacy-nesting/input/index.js [test] (ecmascript)", ((__turbopack_context__) => {
"use strict"; "use strict";
......
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["output/0_9x_turbopack-tests_tests_snapshot_css_css-parse-error_input_index_1njzmrl_2ytp9.js","[project]/turbopack/crates/turbopack-tests/tests/snapshot/css/css-parse-error/input/index.js [test] (ecmascript)",s=>{"use strict";s.s([])}]); "use strict";(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["output/0_9x_turbopack-tests_tests_snapshot_css_css-parse-error_input_index_1njzmrl_2ytp9.js","[project]/turbopack/crates/turbopack-tests/tests/snapshot/css/css-parse-error/input/index.js [test] (ecmascript)",s=>{s.s([])}]);
//# sourceMappingURL=0_9x_turbopack-tests_tests_snapshot_css_css-parse-error_input_index_1njzmrl_2ytp9.js.map //# sourceMappingURL=0_9x_turbopack-tests_tests_snapshot_css_css-parse-error_input_index_1njzmrl_2ytp9.js.map
\ No newline at end of file
{"version":3,"sources":[],"names":[],"mappings":""} {
\ No newline at end of file "version": 3,
"sources": [],
"sections": [
{"offset": {"line": 0, "column": 13}, "map": {"version":3,"sources":[],"names":[],"mappings":""}}]
}
\ No newline at end of file
(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/1do3_crates_turbopack-tests_tests_snapshot_css_import-url_input_index_0gylb-1e3gzyl.js", "use strict";(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/1do3_crates_turbopack-tests_tests_snapshot_css_import-url_input_index_0gylb-1e3gzyl.js",
"[project]/turbopack/crates/turbopack-tests/tests/snapshot/css/import-url/input/index.js [test] (ecmascript)", ((__turbopack_context__) => { "[project]/turbopack/crates/turbopack-tests/tests/snapshot/css/import-url/input/index.js [test] (ecmascript)", ((__turbopack_context__) => {
"use strict"; "use strict";
......
(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/1jsg_tests_snapshot_css_protocol-dependent-import_input_index_0g7z0m_9creke.js", "use strict";(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/1jsg_tests_snapshot_css_protocol-dependent-import_input_index_0g7z0m_9creke.js",
"[project]/turbopack/crates/turbopack-tests/tests/snapshot/css/protocol-dependent-import/input/index.js [test] (ecmascript)", ((__turbopack_context__) => { "[project]/turbopack/crates/turbopack-tests/tests/snapshot/css/protocol-dependent-import/input/index.js [test] (ecmascript)", ((__turbopack_context__) => {
"use strict"; "use strict";
......
(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/1jsg_tests_snapshot_css_relative-uri-import_input_index_0vurzyh4-9kno.js", "use strict";(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/1jsg_tests_snapshot_css_relative-uri-import_input_index_0vurzyh4-9kno.js",
"[project]/turbopack/crates/turbopack-tests/tests/snapshot/css/relative-uri-import/input/index.js [test] (ecmascript)", ((__turbopack_context__) => { "[project]/turbopack/crates/turbopack-tests/tests/snapshot/css/relative-uri-import/input/index.js [test] (ecmascript)", ((__turbopack_context__) => {
"use strict"; "use strict";
......
(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/1jsg_tests_snapshot_css_url-in-supports-query_input_index_20mywk30dlppj.js", "use strict";(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/1jsg_tests_snapshot_css_url-in-supports-query_input_index_20mywk30dlppj.js",
"[project]/turbopack/crates/turbopack-tests/tests/snapshot/css/url-in-supports-query/input/index.js [test] (ecmascript)", ((__turbopack_context__) => { "[project]/turbopack/crates/turbopack-tests/tests/snapshot/css/url-in-supports-query/input/index.js [test] (ecmascript)", ((__turbopack_context__) => {
"use strict"; "use strict";
......
(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/1jsg_tests_snapshot_dynamic-request_very-dynamic_input_index_045hiyc-eq2av.js", "use strict";(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/1jsg_tests_snapshot_dynamic-request_very-dynamic_input_index_045hiyc-eq2av.js",
"[project]/turbopack/crates/turbopack-tests/tests/snapshot/dynamic-request/very-dynamic/input/index.js [test] (ecmascript)", ((__turbopack_context__) => { "[project]/turbopack/crates/turbopack-tests/tests/snapshot/dynamic-request/very-dynamic/input/index.js [test] (ecmascript)", ((__turbopack_context__) => {
"use strict"; "use strict";
......
(()=>{"use strict";(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/0_9x_turbopack-tests_tests_snapshot_import-meta_esm-multiple_input_0__oir9q6_sm5._.js", "use strict";(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/0_9x_turbopack-tests_tests_snapshot_import-meta_esm-multiple_input_0__oir9q6_sm5._.js",
"[project]/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm-multiple/input/index.js [test] (ecmascript)", ((__turbopack_context__) => { "[project]/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm-multiple/input/index.js [test] (ecmascript)", ((__turbopack_context__) => {
"use strict"; "use strict";
...@@ -31,6 +31,6 @@ function bar() { ...@@ -31,6 +31,6 @@ function bar() {
foo(); foo();
bar(); bar();
}), }),
]);})() ]);
//# sourceMappingURL=0_9x_turbopack-tests_tests_snapshot_import-meta_esm-multiple_input_0__oir9q6_sm5._.js.map //# sourceMappingURL=0_9x_turbopack-tests_tests_snapshot_import-meta_esm-multiple_input_0__oir9q6_sm5._.js.map
\ No newline at end of file
(()=>{"use strict";(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/0_9x_turbopack-tests_tests_snapshot_import-meta_esm-mutable_input_20u-wgbvzfds9._.js", "use strict";(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/0_9x_turbopack-tests_tests_snapshot_import-meta_esm-mutable_input_20u-wgbvzfds9._.js",
"[project]/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm-mutable/input/index.js [test] (ecmascript)", ((__turbopack_context__) => { "[project]/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm-mutable/input/index.js [test] (ecmascript)", ((__turbopack_context__) => {
"use strict"; "use strict";
...@@ -24,6 +24,6 @@ var __TURBOPACK__import$2e$meta__ = { ...@@ -24,6 +24,6 @@ var __TURBOPACK__import$2e$meta__ = {
}; };
__TURBOPACK__import$2e$meta__.foo = 1; __TURBOPACK__import$2e$meta__.foo = 1;
}), }),
]);})() ]);
//# sourceMappingURL=0_9x_turbopack-tests_tests_snapshot_import-meta_esm-mutable_input_20u-wgbvzfds9._.js.map //# sourceMappingURL=0_9x_turbopack-tests_tests_snapshot_import-meta_esm-mutable_input_20u-wgbvzfds9._.js.map
\ No newline at end of file
(()=>{"use strict";(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/0_9x_turbopack-tests_tests_snapshot_import-meta_esm-object_input_0akuaiya2a112._.js", "use strict";(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/0_9x_turbopack-tests_tests_snapshot_import-meta_esm-object_input_0akuaiya2a112._.js",
"[project]/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm-object/input/index.js [test] (ecmascript)", ((__turbopack_context__) => { "[project]/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm-object/input/index.js [test] (ecmascript)", ((__turbopack_context__) => {
"use strict"; "use strict";
...@@ -24,6 +24,6 @@ var __TURBOPACK__import$2e$meta__ = { ...@@ -24,6 +24,6 @@ var __TURBOPACK__import$2e$meta__ = {
}; };
console.log(__TURBOPACK__import$2e$meta__); console.log(__TURBOPACK__import$2e$meta__);
}), }),
]);})() ]);
//# sourceMappingURL=0_9x_turbopack-tests_tests_snapshot_import-meta_esm-object_input_0akuaiya2a112._.js.map //# sourceMappingURL=0_9x_turbopack-tests_tests_snapshot_import-meta_esm-object_input_0akuaiya2a112._.js.map
\ No newline at end of file
(()=>{"use strict";(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/1do3_crates_turbopack-tests_tests_snapshot_import-meta_esm_input_0m4yc4rpllbvz._.js", "use strict";(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/1do3_crates_turbopack-tests_tests_snapshot_import-meta_esm_input_0m4yc4rpllbvz._.js",
"[project]/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm/input/index.js [test] (ecmascript)", ((__turbopack_context__) => { "[project]/turbopack/crates/turbopack-tests/tests/snapshot/import-meta/esm/input/index.js [test] (ecmascript)", ((__turbopack_context__) => {
"use strict"; "use strict";
...@@ -24,6 +24,6 @@ var __TURBOPACK__import$2e$meta__ = { ...@@ -24,6 +24,6 @@ var __TURBOPACK__import$2e$meta__ = {
}; };
console.log(__TURBOPACK__import$2e$meta__.url); console.log(__TURBOPACK__import$2e$meta__.url);
}), }),
]);})() ]);
//# sourceMappingURL=1do3_crates_turbopack-tests_tests_snapshot_import-meta_esm_input_0m4yc4rpllbvz._.js.map //# sourceMappingURL=1do3_crates_turbopack-tests_tests_snapshot_import-meta_esm_input_0m4yc4rpllbvz._.js.map
\ No newline at end of file
(()=>{"use strict";(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/0_9x_turbopack-tests_tests_snapshot_imports_duplicate-binding_input_05k3-r-zlo2y8._.js", "use strict";(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/0_9x_turbopack-tests_tests_snapshot_imports_duplicate-binding_input_05k3-r-zlo2y8._.js",
"[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/duplicate-binding/input/index.js [test] (ecmascript)", ((__turbopack_context__) => { "[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/duplicate-binding/input/index.js [test] (ecmascript)", ((__turbopack_context__) => {
"use strict"; "use strict";
...@@ -23,6 +23,6 @@ const Table = ()=>{ ...@@ -23,6 +23,6 @@ const Table = ()=>{
return 'table'; return 'table';
}; };
}), }),
]);})() ]);
//# sourceMappingURL=0_9x_turbopack-tests_tests_snapshot_imports_duplicate-binding_input_05k3-r-zlo2y8._.js.map //# sourceMappingURL=0_9x_turbopack-tests_tests_snapshot_imports_duplicate-binding_input_05k3-r-zlo2y8._.js.map
\ No newline at end of file
(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/0_9x_turbopack-tests_tests_snapshot_imports_dynamic_input_vercel_mjs_10v2lax50zql7._.js", "use strict";(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/0_9x_turbopack-tests_tests_snapshot_imports_dynamic_input_vercel_mjs_10v2lax50zql7._.js",
"[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/dynamic/input/vercel.mjs [test] (ecmascript)", ((__turbopack_context__) => { "[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/dynamic/input/vercel.mjs [test] (ecmascript)", ((__turbopack_context__) => {
"use strict"; "use strict";
......
(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/1jsg_tests_snapshot_imports_ignore-comments_input_vercel_mjs_1w__q5-_cdgjf._.js", "use strict";(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/1jsg_tests_snapshot_imports_ignore-comments_input_vercel_mjs_1w__q5-_cdgjf._.js",
"[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/ignore-comments/input/vercel.mjs [test] (ecmascript)", ((__turbopack_context__) => { "[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/ignore-comments/input/vercel.mjs [test] (ecmascript)", ((__turbopack_context__) => {
"use strict"; "use strict";
......
(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/1jsg_tests_snapshot_imports_optional-comments_input_existing_mjs_0c500u0zw1qsb._.js", "use strict";(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/1jsg_tests_snapshot_imports_optional-comments_input_existing_mjs_0c500u0zw1qsb._.js",
"[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/optional-comments/input/existing.mjs [test] (ecmascript)", ((__turbopack_context__) => { "[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/optional-comments/input/existing.mjs [test] (ecmascript)", ((__turbopack_context__) => {
"use strict"; "use strict";
......
(()=>{"use strict";(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/1do3_crates_turbopack-tests_tests_snapshot_imports_order_input_1wfk3l4bfp2ys._.js", "use strict";(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/1do3_crates_turbopack-tests_tests_snapshot_imports_order_input_1wfk3l4bfp2ys._.js",
"[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/order/input/index.js [test] (ecmascript)", ((__turbopack_context__) => { "[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/order/input/index.js [test] (ecmascript)", ((__turbopack_context__) => {
"use strict"; "use strict";
...@@ -21,6 +21,6 @@ const __TURBOPACK__default__export__ = { ...@@ -21,6 +21,6 @@ const __TURBOPACK__default__export__ = {
js: true js: true
}; };
}), }),
]);})() ]);
//# sourceMappingURL=1do3_crates_turbopack-tests_tests_snapshot_imports_order_input_1wfk3l4bfp2ys._.js.map //# sourceMappingURL=1do3_crates_turbopack-tests_tests_snapshot_imports_order_input_1wfk3l4bfp2ys._.js.map
\ No newline at end of file
(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/1jsg_tests_snapshot_imports_resolve_error_esm_input_index_1c8ndk9tak0l5.js", "use strict";(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/1jsg_tests_snapshot_imports_resolve_error_esm_input_index_1c8ndk9tak0l5.js",
"[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/resolve_error_esm/input/index.js [test] (ecmascript)", ((__turbopack_context__) => { "[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/resolve_error_esm/input/index.js [test] (ecmascript)", ((__turbopack_context__) => {
"use strict"; "use strict";
......
(()=>{"use strict";(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/0_9x_turbopack-tests_tests_snapshot_imports_static-and-dynamic_input_0dm2mkcc8iok2._.js", "use strict";(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/0_9x_turbopack-tests_tests_snapshot_imports_static-and-dynamic_input_0dm2mkcc8iok2._.js",
"[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/static-and-dynamic/input/index.js [test] (ecmascript)", ((__turbopack_context__) => { "[project]/turbopack/crates/turbopack-tests/tests/snapshot/imports/static-and-dynamic/input/index.js [test] (ecmascript)", ((__turbopack_context__) => {
"use strict"; "use strict";
...@@ -17,6 +17,6 @@ __turbopack_context__.s([ ...@@ -17,6 +17,6 @@ __turbopack_context__.s([
]); ]);
const __TURBOPACK__default__export__ = 'turbopack'; const __TURBOPACK__default__export__ = 'turbopack';
}), }),
]);})() ]);
//# sourceMappingURL=0_9x_turbopack-tests_tests_snapshot_imports_static-and-dynamic_input_0dm2mkcc8iok2._.js.map //# sourceMappingURL=0_9x_turbopack-tests_tests_snapshot_imports_static-and-dynamic_input_0dm2mkcc8iok2._.js.map
\ No newline at end of file
(()=>{"use strict";(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/1jsg_tests_snapshot_intermediate-tree-shake_reexport-with-locals_input_0fa40prz2spda._.js", "use strict";(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/1jsg_tests_snapshot_intermediate-tree-shake_reexport-with-locals_input_0fa40prz2spda._.js",
"[project]/turbopack/crates/turbopack-tests/tests/snapshot/intermediate-tree-shake/reexport-with-locals/input/index.js [test] (ecmascript)", ((__turbopack_context__) => { "[project]/turbopack/crates/turbopack-tests/tests/snapshot/intermediate-tree-shake/reexport-with-locals/input/index.js [test] (ecmascript)", ((__turbopack_context__) => {
"use strict"; "use strict";
...@@ -49,6 +49,6 @@ __turbopack_context__.s([]); ...@@ -49,6 +49,6 @@ __turbopack_context__.s([]);
function unusedStar() {} function unusedStar() {}
__turbopack_context__.s([]); __turbopack_context__.s([]);
}), }),
]);})() ]);
//# sourceMappingURL=1jsg_tests_snapshot_intermediate-tree-shake_reexport-with-locals_input_0fa40prz2spda._.js.map //# sourceMappingURL=1jsg_tests_snapshot_intermediate-tree-shake_reexport-with-locals_input_0fa40prz2spda._.js.map
\ No newline at end of file
(()=>{"use strict";(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/154e_intermediate-tree-shake_rename-side-effect-free-facade_input_1nl1qrj_-qqwu._.js", "use strict";(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/154e_intermediate-tree-shake_rename-side-effect-free-facade_input_1nl1qrj_-qqwu._.js",
"[project]/turbopack/crates/turbopack-tests/tests/snapshot/intermediate-tree-shake/rename-side-effect-free-facade/input/index.js [test] (ecmascript)", ((__turbopack_context__) => { "[project]/turbopack/crates/turbopack-tests/tests/snapshot/intermediate-tree-shake/rename-side-effect-free-facade/input/index.js [test] (ecmascript)", ((__turbopack_context__) => {
"use strict"; "use strict";
...@@ -27,6 +27,6 @@ __turbopack_context__.s([ ...@@ -27,6 +27,6 @@ __turbopack_context__.s([
()=>__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$intermediate$2d$tree$2d$shake$2f$rename$2d$side$2d$effect$2d$free$2d$facade$2f$input$2f$node_modules$2f$lib$2f$a$2e$js__$5b$test$5d$__$28$ecmascript$29$__["a"] ()=>__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$intermediate$2d$tree$2d$shake$2f$rename$2d$side$2d$effect$2d$free$2d$facade$2f$input$2f$node_modules$2f$lib$2f$a$2e$js__$5b$test$5d$__$28$ecmascript$29$__["a"]
]); ]);
}), }),
]);})() ]);
//# sourceMappingURL=154e_intermediate-tree-shake_rename-side-effect-free-facade_input_1nl1qrj_-qqwu._.js.map //# sourceMappingURL=154e_intermediate-tree-shake_rename-side-effect-free-facade_input_1nl1qrj_-qqwu._.js.map
\ No newline at end of file
(()=>{"use strict";(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/1jsg_tests_snapshot_intermediate-tree-shake_tree-shake-test-1_input_1mlxku40v_-py._.js", "use strict";(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/1jsg_tests_snapshot_intermediate-tree-shake_tree-shake-test-1_input_1mlxku40v_-py._.js",
"[project]/turbopack/crates/turbopack-tests/tests/snapshot/intermediate-tree-shake/tree-shake-test-1/input/index.js [test] (ecmascript)", ((__turbopack_context__) => { "[project]/turbopack/crates/turbopack-tests/tests/snapshot/intermediate-tree-shake/tree-shake-test-1/input/index.js [test] (ecmascript)", ((__turbopack_context__) => {
"use strict"; "use strict";
...@@ -27,6 +27,6 @@ __turbopack_context__.s([ ...@@ -27,6 +27,6 @@ __turbopack_context__.s([
getCat getCat
]); ]);
}), }),
]);})() ]);
//# sourceMappingURL=1jsg_tests_snapshot_intermediate-tree-shake_tree-shake-test-1_input_1mlxku40v_-py._.js.map //# sourceMappingURL=1jsg_tests_snapshot_intermediate-tree-shake_tree-shake-test-1_input_1mlxku40v_-py._.js.map
\ No newline at end of file
(()=>{"use strict";module.exports=["[project]/turbopack/crates/turbopack-tests/tests/snapshot/mangle-exports/escaping-namespace/input/escaping.js [test] (ecmascript)",t=>{t.s(["anotherLongExportName",0,"long-2","someLongExportName",0,"long-1"])},"[project]/turbopack/crates/turbopack-tests/tests/snapshot/mangle-exports/escaping-namespace/input/index.js [test] (ecmascript)",t=>{var s=t.i("[project]/turbopack/crates/turbopack-tests/tests/snapshot/mangle-exports/escaping-namespace/input/escaping.js [test] (ecmascript)"),e=t.i("[project]/turbopack/crates/turbopack-tests/tests/snapshot/mangle-exports/escaping-namespace/input/mangled.js [test] (ecmascript)");console.log(s,e.z,e.T),t.s([])},"[project]/turbopack/crates/turbopack-tests/tests/snapshot/mangle-exports/escaping-namespace/input/mangled.js [test] (ecmascript)",t=>{t.s(["T",0,"mangled-2","z",0,"mangled-1"])}]})(); "use strict";module.exports=["[project]/turbopack/crates/turbopack-tests/tests/snapshot/mangle-exports/escaping-namespace/input/escaping.js [test] (ecmascript)",t=>{t.s(["anotherLongExportName",0,"long-2","someLongExportName",0,"long-1"])},"[project]/turbopack/crates/turbopack-tests/tests/snapshot/mangle-exports/escaping-namespace/input/index.js [test] (ecmascript)",t=>{var s=t.i("[project]/turbopack/crates/turbopack-tests/tests/snapshot/mangle-exports/escaping-namespace/input/escaping.js [test] (ecmascript)"),e=t.i("[project]/turbopack/crates/turbopack-tests/tests/snapshot/mangle-exports/escaping-namespace/input/mangled.js [test] (ecmascript)");console.log(s,e.z,e.T),t.s([])},"[project]/turbopack/crates/turbopack-tests/tests/snapshot/mangle-exports/escaping-namespace/input/mangled.js [test] (ecmascript)",t=>{t.s(["T",0,"mangled-2","z",0,"mangled-1"])}];
//# sourceMappingURL=1jsg_tests_snapshot_mangle-exports_escaping-namespace_input_1ysta134r3dyz._.js.map //# sourceMappingURL=1jsg_tests_snapshot_mangle-exports_escaping-namespace_input_1ysta134r3dyz._.js.map
\ No newline at end of file
{"version":3,"sources":["turbopack:///[project]/turbopack/crates/turbopack-tests/tests/snapshot/mangle-exports/escaping-namespace/input/escaping.js","turbopack:///[project]/turbopack/crates/turbopack-tests/tests/snapshot/mangle-exports/escaping-namespace/input/index.js","turbopack:///[project]/turbopack/crates/turbopack-tests/tests/snapshot/mangle-exports/escaping-namespace/input/mangled.js"],"sourcesContent":["// A namespace object of this module escapes, so it keeps its original export names.\nexport const someLongExportName = 'long-1'\nexport const anotherLongExportName = 'long-2'\n","import * as escaping from './escaping.js'\nimport { someLongExportName, anotherLongExportName } from './mangled.js'\n\nconst leak = () => escaping\n\nconsole.log(leak(), someLongExportName, anotherLongExportName)\n","// Nothing escapes here, so this module in the same graph is still mangled.\nexport const someLongExportName = 'mangled-1'\nexport const anotherLongExportName = 'mangled-2'\n"],"names":["someLongExportName","anotherLongExportName","leak","imported module [project]/turbopack/crates/turbopack-tests/tests/snapshot/mangle-exports/escaping-namespace/input/escaping.js [test] (ecmascript)","console","log"],"mappings":"0MAEqC,gCADH,iJCDlC,IAAA,EAAA,EAAA,CAAA,CAAA,qIACA,EAAA,EAAA,CAAA,CAAA,oIAIAI,QAAQC,GAAG,CAFQF,AAEPD,EAAQ,EAAA,CAAkB,CAAE,EAAA,CAAqB,6JCHxB,kBADH"} {
\ No newline at end of file "version": 3,
"sources": [],
"sections": [
{"offset": {"line": 0, "column": 13}, "map": {"version":3,"sources":["turbopack:///[project]/turbopack/crates/turbopack-tests/tests/snapshot/mangle-exports/escaping-namespace/input/escaping.js","turbopack:///[project]/turbopack/crates/turbopack-tests/tests/snapshot/mangle-exports/escaping-namespace/input/index.js","turbopack:///[project]/turbopack/crates/turbopack-tests/tests/snapshot/mangle-exports/escaping-namespace/input/mangled.js"],"sourcesContent":["// A namespace object of this module escapes, so it keeps its original export names.\nexport const someLongExportName = 'long-1'\nexport const anotherLongExportName = 'long-2'\n","import * as escaping from './escaping.js'\nimport { someLongExportName, anotherLongExportName } from './mangled.js'\n\nconst leak = () => escaping\n\nconsole.log(leak(), someLongExportName, anotherLongExportName)\n","// Nothing escapes here, so this module in the same graph is still mangled.\nexport const someLongExportName = 'mangled-1'\nexport const anotherLongExportName = 'mangled-2'\n"],"names":["someLongExportName","anotherLongExportName","leak","imported module [project]/turbopack/crates/turbopack-tests/tests/snapshot/mangle-exports/escaping-namespace/input/escaping.js [test] (ecmascript)","console","log"],"mappings":"uLAEqC,gCADH,iJCDlC,IAAA,EAAA,EAAA,CAAA,CAAA,qIACA,EAAA,EAAA,CAAA,CAAA,oIAIAI,QAAQC,GAAG,CAFQF,AAEPD,EAAQ,EAAA,CAAkB,CAAE,EAAA,CAAqB,6JCHxB,kBADH"}}]
}
\ No newline at end of file
(()=>{"use strict";module.exports=["[project]/turbopack/crates/turbopack-tests/tests/snapshot/mangle-exports/named-and-preserved/input/index.js [test] (ecmascript)",t=>{var e=t.i("[project]/turbopack/crates/turbopack-tests/tests/snapshot/mangle-exports/named-and-preserved/input/lib.js [test] (ecmascript)");console.log(e.a,e.$,e.z,e.T,(0,e.X)()),t.s([])},"[project]/turbopack/crates/turbopack-tests/tests/snapshot/mangle-exports/named-and-preserved/input/lib.js [test] (ecmascript)",t=>{t.s(["a",0,"a","X",0,function(){return"fn"},"T",0,"long-2","$",0,"bb","z",0,"long-1"])}]})(); "use strict";module.exports=["[project]/turbopack/crates/turbopack-tests/tests/snapshot/mangle-exports/named-and-preserved/input/index.js [test] (ecmascript)",t=>{var e=t.i("[project]/turbopack/crates/turbopack-tests/tests/snapshot/mangle-exports/named-and-preserved/input/lib.js [test] (ecmascript)");console.log(e.a,e.$,e.z,e.T,(0,e.X)()),t.s([])},"[project]/turbopack/crates/turbopack-tests/tests/snapshot/mangle-exports/named-and-preserved/input/lib.js [test] (ecmascript)",t=>{t.s(["a",0,"a","X",0,function(){return"fn"},"T",0,"long-2","$",0,"bb","z",0,"long-1"])}];
//# sourceMappingURL=1jsg_tests_snapshot_mangle-exports_named-and-preserved_input_0pbreftkp_5pc._.js.map //# sourceMappingURL=1jsg_tests_snapshot_mangle-exports_named-and-preserved_input_0pbreftkp_5pc._.js.map
\ No newline at end of file
{"version":3,"sources":["turbopack:///[project]/turbopack/crates/turbopack-tests/tests/snapshot/mangle-exports/named-and-preserved/input/index.js","turbopack:///[project]/turbopack/crates/turbopack-tests/tests/snapshot/mangle-exports/named-and-preserved/input/lib.js"],"sourcesContent":["import {\n a,\n bb,\n someLongExportName,\n anotherLongExportName,\n aLongFunctionName,\n} from './lib.js'\n\nconsole.log(\n a,\n bb,\n someLongExportName,\n anotherLongExportName,\n aLongFunctionName()\n)\n","export const a = 'a'\nexport const bb = 'bb'\nexport const someLongExportName = 'long-1'\nexport const anotherLongExportName = 'long-2'\nexport const unusedLongExportName = 'unused'\n\nexport function aLongFunctionName() {\n return 'fn'\n}\n"],"names":["console","log","a","bb","someLongExportName","anotherLongExportName","unusedLongExportName","aLongFunctionName"],"mappings":"yKAAA,IAAA,EAAA,EAAA,CAAA,CAAA,iIAQAA,QAAQC,GAAG,CACT,EAAA,CAAC,CACD,EAAA,CAAE,CACF,EAAA,CAAkB,CAClB,EAAA,CAAqB,CACrB,CAAA,EAAA,EAAA,CAAA,AAAiB,6JCbF,UAMV,SAASM,EACd,MAAO,IACT,QALqC,eAFnB,WACgB"} {
\ No newline at end of file "version": 3,
"sources": [],
"sections": [
{"offset": {"line": 0, "column": 13}, "map": {"version":3,"sources":["turbopack:///[project]/turbopack/crates/turbopack-tests/tests/snapshot/mangle-exports/named-and-preserved/input/index.js","turbopack:///[project]/turbopack/crates/turbopack-tests/tests/snapshot/mangle-exports/named-and-preserved/input/lib.js"],"sourcesContent":["import {\n a,\n bb,\n someLongExportName,\n anotherLongExportName,\n aLongFunctionName,\n} from './lib.js'\n\nconsole.log(\n a,\n bb,\n someLongExportName,\n anotherLongExportName,\n aLongFunctionName()\n)\n","export const a = 'a'\nexport const bb = 'bb'\nexport const someLongExportName = 'long-1'\nexport const anotherLongExportName = 'long-2'\nexport const unusedLongExportName = 'unused'\n\nexport function aLongFunctionName() {\n return 'fn'\n}\n"],"names":["console","log","a","bb","someLongExportName","anotherLongExportName","unusedLongExportName","aLongFunctionName"],"mappings":"sJAAA,IAAA,EAAA,EAAA,CAAA,CAAA,iIAQAA,QAAQC,GAAG,CACT,EAAA,CAAC,CACD,EAAA,CAAE,CACF,EAAA,CAAkB,CAClB,EAAA,CAAqB,CACrB,CAAA,EAAA,EAAA,CAAA,AAAiB,6JCbF,UAMV,SAASM,EACd,MAAO,IACT,QALqC,eAFnB,WACgB"}}]
}
\ No newline at end of file
(()=>{"use strict";module.exports=["[project]/turbopack/crates/turbopack-tests/tests/snapshot/mangle-exports/single-export/input/index.js [test] (ecmascript)",t=>{console.log((0,t.i("[project]/turbopack/crates/turbopack-tests/tests/snapshot/mangle-exports/single-export/input/lone.js [test] (ecmascript)").f)()),t.s([])},"[project]/turbopack/crates/turbopack-tests/tests/snapshot/mangle-exports/single-export/input/lone.js [test] (ecmascript)",t=>{t.s(["f",0,function(){return"lone"}])}]})(); "use strict";module.exports=["[project]/turbopack/crates/turbopack-tests/tests/snapshot/mangle-exports/single-export/input/index.js [test] (ecmascript)",t=>{console.log((0,t.i("[project]/turbopack/crates/turbopack-tests/tests/snapshot/mangle-exports/single-export/input/lone.js [test] (ecmascript)").f)()),t.s([])},"[project]/turbopack/crates/turbopack-tests/tests/snapshot/mangle-exports/single-export/input/lone.js [test] (ecmascript)",t=>{t.s(["f",0,function(){return"lone"}])}];
//# sourceMappingURL=0_9x_turbopack-tests_tests_snapshot_mangle-exports_single-export_input_1mf78g4ogdhgv._.js.map //# sourceMappingURL=0_9x_turbopack-tests_tests_snapshot_mangle-exports_single-export_input_1mf78g4ogdhgv._.js.map
\ No newline at end of file
{"version":3,"sources":["turbopack:///[project]/turbopack/crates/turbopack-tests/tests/snapshot/mangle-exports/single-export/input/index.js","turbopack:///[project]/turbopack/crates/turbopack-tests/tests/snapshot/mangle-exports/single-export/input/lone.js"],"sourcesContent":["import { aLongFunctionNameNobodyWantsInTheBundle } from './lone'\n\nconsole.log(aLongFunctionNameNobodyWantsInTheBundle())\n","// The only export of this module. It is emitted under the fixed single-export key rather than a\n// hashed one, so that every single-export module in the graph produces the same `.f` byte sequence\n// and gzip can share it. Visible in the committed output below.\nexport function aLongFunctionNameNobodyWantsInTheBundle() {\n return 'lone'\n}\n"],"names":["console","log","aLongFunctionNameNobodyWantsInTheBundle"],"mappings":"mKAEAA,QAAQC,GAAG,CAAC,CAAA,EAFZ,AAEY,EAFZ,CAAA,CAAA,4HAEY,CAAA,AAAuC,wJCC5C,SAASC,EACd,MAAO,MACT"} {
\ No newline at end of file "version": 3,
"sources": [],
"sections": [
{"offset": {"line": 0, "column": 13}, "map": {"version":3,"sources":["turbopack:///[project]/turbopack/crates/turbopack-tests/tests/snapshot/mangle-exports/single-export/input/index.js","turbopack:///[project]/turbopack/crates/turbopack-tests/tests/snapshot/mangle-exports/single-export/input/lone.js"],"sourcesContent":["import { aLongFunctionNameNobodyWantsInTheBundle } from './lone'\n\nconsole.log(aLongFunctionNameNobodyWantsInTheBundle())\n","// The only export of this module. It is emitted under the fixed single-export key rather than a\n// hashed one, so that every single-export module in the graph produces the same `.f` byte sequence\n// and gzip can share it. Visible in the committed output below.\nexport function aLongFunctionNameNobodyWantsInTheBundle() {\n return 'lone'\n}\n"],"names":["console","log","aLongFunctionNameNobodyWantsInTheBundle"],"mappings":"gJAEAA,QAAQC,GAAG,CAAC,CAAA,EAFZ,AAEY,EAFZ,CAAA,CAAA,4HAEY,CAAA,AAAuC,wJCC5C,SAASC,EACd,MAAO,MACT"}}]
}
\ No newline at end of file
(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/1jsg_tests_snapshot_node_node_protocol_external_input_index_0b9bpmts2pa7f.js", "use strict";(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/1jsg_tests_snapshot_node_node_protocol_external_input_index_0b9bpmts2pa7f.js",
"[project]/turbopack/crates/turbopack-tests/tests/snapshot/node/node_protocol_external/input/index.js [test] (ecmascript)", ((__turbopack_context__) => { "[project]/turbopack/crates/turbopack-tests/tests/snapshot/node/node_protocol_external/input/index.js [test] (ecmascript)", ((__turbopack_context__) => {
"use strict"; "use strict";
......
(()=>{"use strict";(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/1do3_crates_turbopack-tests_tests_snapshot_node_spawn_dynamic_input_0ow1swaxdiv8b._.js", "use strict";(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/1do3_crates_turbopack-tests_tests_snapshot_node_spawn_dynamic_input_0ow1swaxdiv8b._.js",
"[project]/turbopack/crates/turbopack-tests/tests/snapshot/node/spawn_dynamic/input/index.js [test] (ecmascript)", ((__turbopack_context__) => { "[project]/turbopack/crates/turbopack-tests/tests/snapshot/node/spawn_dynamic/input/index.js [test] (ecmascript)", ((__turbopack_context__) => {
"use strict"; "use strict";
...@@ -23,6 +23,6 @@ function spawn(cmd, args) { ...@@ -23,6 +23,6 @@ function spawn(cmd, args) {
// //
} }
}), }),
]);})() ]);
//# sourceMappingURL=1do3_crates_turbopack-tests_tests_snapshot_node_spawn_dynamic_input_0ow1swaxdiv8b._.js.map //# sourceMappingURL=1do3_crates_turbopack-tests_tests_snapshot_node_spawn_dynamic_input_0ow1swaxdiv8b._.js.map
\ No newline at end of file
(()=>{"use strict";(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/1do3_crates_turbopack-tests_tests_snapshot_node_spawn_node_eval_input_2055vpqzks2dy._.js", "use strict";(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/1do3_crates_turbopack-tests_tests_snapshot_node_spawn_node_eval_input_2055vpqzks2dy._.js",
"[project]/turbopack/crates/turbopack-tests/tests/snapshot/node/spawn_node_eval/input/index.js [test] (ecmascript)", ((__turbopack_context__) => { "[project]/turbopack/crates/turbopack-tests/tests/snapshot/node/spawn_node_eval/input/index.js [test] (ecmascript)", ((__turbopack_context__) => {
"use strict"; "use strict";
...@@ -21,6 +21,6 @@ function spawn(cmd, args) { ...@@ -21,6 +21,6 @@ function spawn(cmd, args) {
// //
} }
}), }),
]);})() ]);
//# sourceMappingURL=1do3_crates_turbopack-tests_tests_snapshot_node_spawn_node_eval_input_2055vpqzks2dy._.js.map //# sourceMappingURL=1do3_crates_turbopack-tests_tests_snapshot_node_spawn_node_eval_input_2055vpqzks2dy._.js.map
\ No newline at end of file
(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/1jsg_tests_snapshot_ns-value-reexport_named-import_input_index_1a3a-lomo0k0u.js", "use strict";(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/1jsg_tests_snapshot_ns-value-reexport_named-import_input_index_1a3a-lomo0k0u.js",
"[project]/turbopack/crates/turbopack-tests/tests/snapshot/ns-value-reexport/named-import/input/index.js [test] (ecmascript)", ((__turbopack_context__) => { "[project]/turbopack/crates/turbopack-tests/tests/snapshot/ns-value-reexport/named-import/input/index.js [test] (ecmascript)", ((__turbopack_context__) => {
"use strict"; "use strict";
......
(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/0_9x_turbopack-tests_tests_snapshot_reexport-drop_basic_input_lib_02nzs5r5h3jv8.js", "use strict";(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/0_9x_turbopack-tests_tests_snapshot_reexport-drop_basic_input_lib_02nzs5r5h3jv8.js",
"[project]/turbopack/crates/turbopack-tests/tests/snapshot/reexport-drop/basic/input/lib.js [test] (ecmascript)", ((__turbopack_context__) => { "[project]/turbopack/crates/turbopack-tests/tests/snapshot/reexport-drop/basic/input/lib.js [test] (ecmascript)", ((__turbopack_context__) => {
"use strict"; "use strict";
......
(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/0_9x_turbopack-tests_tests_snapshot_reexport-drop_dynamic_input_lib_1_1s1zh9c-wnd.js", "use strict";(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/0_9x_turbopack-tests_tests_snapshot_reexport-drop_dynamic_input_lib_1_1s1zh9c-wnd.js",
"[project]/turbopack/crates/turbopack-tests/tests/snapshot/reexport-drop/dynamic/input/lib.js [test] (ecmascript)", ((__turbopack_context__) => { "[project]/turbopack/crates/turbopack-tests/tests/snapshot/reexport-drop/dynamic/input/lib.js [test] (ecmascript)", ((__turbopack_context__) => {
"use strict"; "use strict";
......
(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/0_9x_turbopack-tests_tests_snapshot_reexport-drop_renamed_input_index_19qb5neid-n2p.js", "use strict";(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/0_9x_turbopack-tests_tests_snapshot_reexport-drop_renamed_input_index_19qb5neid-n2p.js",
"[project]/turbopack/crates/turbopack-tests/tests/snapshot/reexport-drop/renamed/input/index.js [test] (ecmascript)", ((__turbopack_context__) => { "[project]/turbopack/crates/turbopack-tests/tests/snapshot/reexport-drop/renamed/input/index.js [test] (ecmascript)", ((__turbopack_context__) => {
"use strict"; "use strict";
......
(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/0_9x_turbopack-tests_tests_snapshot_reexport-drop_static_input_index_01ttfgs8-aby6.js", "use strict";(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/0_9x_turbopack-tests_tests_snapshot_reexport-drop_static_input_index_01ttfgs8-aby6.js",
"[project]/turbopack/crates/turbopack-tests/tests/snapshot/reexport-drop/static/input/index.js [test] (ecmascript)", ((__turbopack_context__) => { "[project]/turbopack/crates/turbopack-tests/tests/snapshot/reexport-drop/static/input/index.js [test] (ecmascript)", ((__turbopack_context__) => {
"use strict"; "use strict";
......
(()=>{"use strict";(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/1jsg_tests_snapshot_reexport-registration_comma-name_input_0ccl38l1mvgtd._.js", "use strict";(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/1jsg_tests_snapshot_reexport-registration_comma-name_input_0ccl38l1mvgtd._.js",
"[project]/turbopack/crates/turbopack-tests/tests/snapshot/reexport-registration/comma-name/input/index.js [test] (ecmascript)", ((__turbopack_context__) => { "[project]/turbopack/crates/turbopack-tests/tests/snapshot/reexport-registration/comma-name/input/index.js [test] (ecmascript)", ((__turbopack_context__) => {
"use strict"; "use strict";
...@@ -24,6 +24,6 @@ const value = 'comma-value'; ...@@ -24,6 +24,6 @@ const value = 'comma-value';
const plain = 'plain-value'; const plain = 'plain-value';
; ;
}), }),
]);})() ]);
//# sourceMappingURL=1jsg_tests_snapshot_reexport-registration_comma-name_input_0ccl38l1mvgtd._.js.map //# sourceMappingURL=1jsg_tests_snapshot_reexport-registration_comma-name_input_0ccl38l1mvgtd._.js.map
\ No newline at end of file
(()=>{"use strict";(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/1jsg_tests_snapshot_reexport-registration_facade-all-reexports_input_1oc31h4h4q924._.js", "use strict";(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/1jsg_tests_snapshot_reexport-registration_facade-all-reexports_input_1oc31h4h4q924._.js",
"[project]/turbopack/crates/turbopack-tests/tests/snapshot/reexport-registration/facade-all-reexports/input/index.js [test] (ecmascript)", ((__turbopack_context__) => { "[project]/turbopack/crates/turbopack-tests/tests/snapshot/reexport-registration/facade-all-reexports/input/index.js [test] (ecmascript)", ((__turbopack_context__) => {
"use strict"; "use strict";
...@@ -66,6 +66,6 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ...@@ -66,6 +66,6 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo
__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$reexport$2d$registration$2f$facade$2d$all$2d$reexports$2f$input$2f$order$2e$js__$5b$test$5d$__$28$ecmascript$29$__["order"].push('y'); __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$reexport$2d$registration$2f$facade$2d$all$2d$reexports$2f$input$2f$order$2e$js__$5b$test$5d$__$28$ecmascript$29$__["order"].push('y');
const y = 'y'; const y = 'y';
}), }),
]);})() ]);
//# sourceMappingURL=1jsg_tests_snapshot_reexport-registration_facade-all-reexports_input_1oc31h4h4q924._.js.map //# sourceMappingURL=1jsg_tests_snapshot_reexport-registration_facade-all-reexports_input_1oc31h4h4q924._.js.map
\ No newline at end of file
(()=>{"use strict";(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/0p5q_snapshot_reexport-registration_facade-scope-hoisted-shared_input_1eumi0vat9fx1._.js", "use strict";(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/0p5q_snapshot_reexport-registration_facade-scope-hoisted-shared_input_1eumi0vat9fx1._.js",
"[project]/turbopack/crates/turbopack-tests/tests/snapshot/reexport-registration/facade-scope-hoisted-shared/input/index.js [test] (ecmascript)", ((__turbopack_context__) => { "[project]/turbopack/crates/turbopack-tests/tests/snapshot/reexport-registration/facade-scope-hoisted-shared/input/index.js [test] (ecmascript)", ((__turbopack_context__) => {
"use strict"; "use strict";
...@@ -31,7 +31,7 @@ __turbopack_context__.s([ ...@@ -31,7 +31,7 @@ __turbopack_context__.s([
]); ]);
const x = 'x'; const x = 'x';
}), }),
]);})()(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push([ ]);(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push([
"output/17f0_snapshot_reexport-registration_facade-scope-hoisted-shared_input_1uvpd4s77o2u3._.js", "output/17f0_snapshot_reexport-registration_facade-scope-hoisted-shared_input_1uvpd4s77o2u3._.js",
{"otherChunks":[],"runtimeModuleIds":["[project]/turbopack/crates/turbopack-tests/tests/snapshot/reexport-registration/facade-scope-hoisted-shared/input/index.js [test] (ecmascript)"]} {"otherChunks":[],"runtimeModuleIds":["[project]/turbopack/crates/turbopack-tests/tests/snapshot/reexport-registration/facade-scope-hoisted-shared/input/index.js [test] (ecmascript)"]}
]); ]);
......
(()=>{"use strict";(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/1jsg_tests_snapshot_reexport-registration_mixed-encoding_input_1rptxwi6ak5m1._.js", "use strict";(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/1jsg_tests_snapshot_reexport-registration_mixed-encoding_input_1rptxwi6ak5m1._.js",
"[project]/turbopack/crates/turbopack-tests/tests/snapshot/reexport-registration/mixed-encoding/input/first.js [test] (ecmascript)", ((__turbopack_context__) => { "[project]/turbopack/crates/turbopack-tests/tests/snapshot/reexport-registration/mixed-encoding/input/first.js [test] (ecmascript)", ((__turbopack_context__) => {
"use strict"; "use strict";
...@@ -39,6 +39,6 @@ __turbopack_context__.s([ ...@@ -39,6 +39,6 @@ __turbopack_context__.s([
]); ]);
const c = 'c-value'; const c = 'c-value';
}), }),
]);})() ]);
//# sourceMappingURL=1jsg_tests_snapshot_reexport-registration_mixed-encoding_input_1rptxwi6ak5m1._.js.map //# sourceMappingURL=1jsg_tests_snapshot_reexport-registration_mixed-encoding_input_1rptxwi6ak5m1._.js.map
\ No newline at end of file
(()=>{"use strict";(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/1jsg_tests_snapshot_reexport-registration_plain-reexports_input_01u9pft4u-jgg._.js", "use strict";(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/1jsg_tests_snapshot_reexport-registration_plain-reexports_input_01u9pft4u-jgg._.js",
"[project]/turbopack/crates/turbopack-tests/tests/snapshot/reexport-registration/plain-reexports/input/a.js [test] (ecmascript)", ((__turbopack_context__) => { "[project]/turbopack/crates/turbopack-tests/tests/snapshot/reexport-registration/plain-reexports/input/a.js [test] (ecmascript)", ((__turbopack_context__) => {
"use strict"; "use strict";
...@@ -24,6 +24,6 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ...@@ -24,6 +24,6 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo
; ;
; ;
}), }),
]);})() ]);
//# sourceMappingURL=1jsg_tests_snapshot_reexport-registration_plain-reexports_input_01u9pft4u-jgg._.js.map //# sourceMappingURL=1jsg_tests_snapshot_reexport-registration_plain-reexports_input_01u9pft4u-jgg._.js.map
\ No newline at end of file
(()=>{"use strict";(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/1jsg_tests_snapshot_reexport-registration_two-sources_input_0yi379fq8b8cq._.js", "use strict";(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/1jsg_tests_snapshot_reexport-registration_two-sources_input_0yi379fq8b8cq._.js",
"[project]/turbopack/crates/turbopack-tests/tests/snapshot/reexport-registration/two-sources/input/first.js [test] (ecmascript)", ((__turbopack_context__) => { "[project]/turbopack/crates/turbopack-tests/tests/snapshot/reexport-registration/two-sources/input/first.js [test] (ecmascript)", ((__turbopack_context__) => {
"use strict"; "use strict";
...@@ -39,6 +39,6 @@ __turbopack_context__.s([ ...@@ -39,6 +39,6 @@ __turbopack_context__.s([
]); ]);
const c = 'c-value'; const c = 'c-value';
}), }),
]);})() ]);
//# sourceMappingURL=1jsg_tests_snapshot_reexport-registration_two-sources_input_0yi379fq8b8cq._.js.map //# sourceMappingURL=1jsg_tests_snapshot_reexport-registration_two-sources_input_0yi379fq8b8cq._.js.map
\ No newline at end of file
(()=>{"use strict";(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/1jsg_tests_snapshot_remove-unused-imports_exports_input_07rt4kfe5xt7p._.js", "use strict";(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/1jsg_tests_snapshot_remove-unused-imports_exports_input_07rt4kfe5xt7p._.js",
"[project]/turbopack/crates/turbopack-tests/tests/snapshot/remove-unused-imports/exports/input/a.js [test] (ecmascript)", ((__turbopack_context__) => { "[project]/turbopack/crates/turbopack-tests/tests/snapshot/remove-unused-imports/exports/input/a.js [test] (ecmascript)", ((__turbopack_context__) => {
"use strict"; "use strict";
...@@ -72,6 +72,6 @@ __turbopack_context__.s([ ...@@ -72,6 +72,6 @@ __turbopack_context__.s([
y y
]); ]);
}), }),
]);})() ]);
//# sourceMappingURL=1jsg_tests_snapshot_remove-unused-imports_exports_input_07rt4kfe5xt7p._.js.map //# sourceMappingURL=1jsg_tests_snapshot_remove-unused-imports_exports_input_07rt4kfe5xt7p._.js.map
\ No newline at end of file
(()=>{"use strict";(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["output/1jsg_tests_snapshot_remove-unused-imports_star-import-string-key_input_03-1fx5_29uet._.js","[project]/turbopack/crates/turbopack-tests/tests/snapshot/remove-unused-imports/star-import-string-key/input/index.js [test] (ecmascript)",t=>{console.log(t.i("[project]/turbopack/crates/turbopack-tests/tests/snapshot/remove-unused-imports/star-import-string-key/input/lit.js [test] (ecmascript)").foo),t.s([])},"[project]/turbopack/crates/turbopack-tests/tests/snapshot/remove-unused-imports/star-import-string-key/input/lit.js [test] (ecmascript)",t=>{t.s(["foo",0,function(){}])}])})(); "use strict";(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["output/1jsg_tests_snapshot_remove-unused-imports_star-import-string-key_input_03-1fx5_29uet._.js","[project]/turbopack/crates/turbopack-tests/tests/snapshot/remove-unused-imports/star-import-string-key/input/index.js [test] (ecmascript)",t=>{console.log(t.i("[project]/turbopack/crates/turbopack-tests/tests/snapshot/remove-unused-imports/star-import-string-key/input/lit.js [test] (ecmascript)").foo),t.s([])},"[project]/turbopack/crates/turbopack-tests/tests/snapshot/remove-unused-imports/star-import-string-key/input/lit.js [test] (ecmascript)",t=>{t.s(["foo",0,function(){}])}]);
//# sourceMappingURL=1jsg_tests_snapshot_remove-unused-imports_star-import-string-key_input_03-1fx5_29uet._.js.map //# sourceMappingURL=1jsg_tests_snapshot_remove-unused-imports_star-import-string-key_input_03-1fx5_29uet._.js.map
\ No newline at end of file
{"version":3,"sources":["turbopack:///[project]/turbopack/crates/turbopack-tests/tests/snapshot/remove-unused-imports/star-import-string-key/input/index.js","turbopack:///[project]/turbopack/crates/turbopack-tests/tests/snapshot/remove-unused-imports/star-import-string-key/input/lit.js"],"sourcesContent":["import * as lit from './lit.js'\n\n// A string-literal key narrows to `foo`, so `unused` leaves the bundle.\nconsole.log(lit['foo'])\n","export function foo() {}\nexport function unused() {}\n"],"names":["console","log","foo","unused"],"mappings":"8TAGAA,QAAQC,GAAG,CAHX,AAGY,EAHZ,CAAA,CAAA,2IAGY,GAAU,sKCHf,SAASC,EAAO"} {
\ No newline at end of file "version": 3,
"sources": [],
"sections": [
{"offset": {"line": 0, "column": 13}, "map": {"version":3,"sources":["turbopack:///[project]/turbopack/crates/turbopack-tests/tests/snapshot/remove-unused-imports/star-import-string-key/input/index.js","turbopack:///[project]/turbopack/crates/turbopack-tests/tests/snapshot/remove-unused-imports/star-import-string-key/input/lit.js"],"sourcesContent":["import * as lit from './lit.js'\n\n// A string-literal key narrows to `foo`, so `unused` leaves the bundle.\nconsole.log(lit['foo'])\n","export function foo() {}\nexport function unused() {}\n"],"names":["console","log","foo","unused"],"mappings":"2SAGAA,QAAQC,GAAG,CAHX,AAGY,EAHZ,CAAA,CAAA,2IAGY,GAAU,sKCHf,SAASC,EAAO"}}]
}
\ No newline at end of file
(()=>{"use strict";(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/0_9x_turbopack-tests_tests_snapshot_scope-hoisting_direct-eval_input_1oxos4-8yb8iv._.js", "use strict";(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/0_9x_turbopack-tests_tests_snapshot_scope-hoisting_direct-eval_input_1oxos4-8yb8iv._.js",
"[project]/turbopack/crates/turbopack-tests/tests/snapshot/scope-hoisting/direct-eval/input/direct.js [test] (ecmascript)", ((__turbopack_context__) => { "[project]/turbopack/crates/turbopack-tests/tests/snapshot/scope-hoisting/direct-eval/input/direct.js [test] (ecmascript)", ((__turbopack_context__) => {
"use strict"; "use strict";
...@@ -36,6 +36,6 @@ const indirect = [ ...@@ -36,6 +36,6 @@ const indirect = [
const local1 = 'index'; const local1 = 'index';
console.log(__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$scope$2d$hoisting$2f$direct$2d$eval$2f$input$2f$direct$2e$js__$5b$test$5d$__$28$ecmascript$29$__["direct"], indirect, local1); console.log(__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$scope$2d$hoisting$2f$direct$2d$eval$2f$input$2f$direct$2e$js__$5b$test$5d$__$28$ecmascript$29$__["direct"], indirect, local1);
}), }),
]);})() ]);
//# sourceMappingURL=0_9x_turbopack-tests_tests_snapshot_scope-hoisting_direct-eval_input_1oxos4-8yb8iv._.js.map //# sourceMappingURL=0_9x_turbopack-tests_tests_snapshot_scope-hoisting_direct-eval_input_1oxos4-8yb8iv._.js.map
\ No newline at end of file
(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/1jsg_tests_snapshot_scope-hoisting_split-shared_input_big_index_194gu9xl99zcm.js", "use strict";(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/1jsg_tests_snapshot_scope-hoisting_split-shared_input_big_index_194gu9xl99zcm.js",
"[project]/turbopack/crates/turbopack-tests/tests/snapshot/scope-hoisting/split-shared/input/big/index.js [test] (ecmascript)", ((__turbopack_context__) => { "[project]/turbopack/crates/turbopack-tests/tests/snapshot/scope-hoisting/split-shared/input/big/index.js [test] (ecmascript)", ((__turbopack_context__) => {
"use strict"; "use strict";
......
(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/1jsg_tests_snapshot_scope-hoisting_split-shared_input_x_inner_09sg0bzoy3w4q.js", "use strict";(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/1jsg_tests_snapshot_scope-hoisting_split-shared_input_x_inner_09sg0bzoy3w4q.js",
"[project]/turbopack/crates/turbopack-tests/tests/snapshot/scope-hoisting/split-shared/input/x/inner.js [test] (ecmascript)", ((__turbopack_context__) => { "[project]/turbopack/crates/turbopack-tests/tests/snapshot/scope-hoisting/split-shared/input/x/inner.js [test] (ecmascript)", ((__turbopack_context__) => {
"use strict"; "use strict";
......
(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/1jsg_tests_snapshot_scope-hoisting_split-shared_input_y_middle_1inkhp472zkg3.js", "use strict";(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/1jsg_tests_snapshot_scope-hoisting_split-shared_input_y_middle_1inkhp472zkg3.js",
"[project]/turbopack/crates/turbopack-tests/tests/snapshot/scope-hoisting/split-shared/input/y/middle.js [test] (ecmascript)", ((__turbopack_context__) => { "[project]/turbopack/crates/turbopack-tests/tests/snapshot/scope-hoisting/split-shared/input/y/middle.js [test] (ecmascript)", ((__turbopack_context__) => {
"use strict"; "use strict";
......
(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/1jsg_tests_snapshot_source_maps_input-source-map-merged_input_index_13tze6n0d8xk2.js", "use strict";(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/1jsg_tests_snapshot_source_maps_input-source-map-merged_input_index_13tze6n0d8xk2.js",
"[project]/turbopack/crates/turbopack-tests/tests/snapshot/source_maps/input-source-map-merged/input/index.js [test] (ecmascript)", ((__turbopack_context__) => { "[project]/turbopack/crates/turbopack-tests/tests/snapshot/source_maps/input-source-map-merged/input/index.js [test] (ecmascript)", ((__turbopack_context__) => {
"use strict"; "use strict";
......
(()=>{"use strict";(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/0_9x_turbopack-tests_tests_snapshot_source_maps_input-source-map_input_0n-g1xc4-d7nb._.js", "use strict";(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/0_9x_turbopack-tests_tests_snapshot_source_maps_input-source-map_input_0n-g1xc4-d7nb._.js",
"[project]/turbopack/crates/turbopack-tests/tests/snapshot/source_maps/input-source-map/input/index.js [test] (ecmascript)", ((__turbopack_context__) => { "[project]/turbopack/crates/turbopack-tests/tests/snapshot/source_maps/input-source-map/input/index.js [test] (ecmascript)", ((__turbopack_context__) => {
"use strict"; "use strict";
...@@ -18,6 +18,6 @@ function runExternalSourceMapped(fn) { ...@@ -18,6 +18,6 @@ function runExternalSourceMapped(fn) {
return fn(); return fn();
} }
}), }),
]);})() ]);
//# sourceMappingURL=0_9x_turbopack-tests_tests_snapshot_source_maps_input-source-map_input_0n-g1xc4-d7nb._.js.map //# sourceMappingURL=0_9x_turbopack-tests_tests_snapshot_source_maps_input-source-map_input_0n-g1xc4-d7nb._.js.map
\ No newline at end of file
(()=>{"use strict";(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/turbopack_crates_turbopack-tests_tests_snapshot_16i0hbsemtixh._.js", "use strict";(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push(["output/turbopack_crates_turbopack-tests_tests_snapshot_16i0hbsemtixh._.js",
"[project]/turbopack/crates/turbopack-tests/tests/snapshot/node_modules/react/compiler-runtime.js [test] (ecmascript)", ((__turbopack_context__) => { "[project]/turbopack/crates/turbopack-tests/tests/snapshot/node_modules/react/compiler-runtime.js [test] (ecmascript)", ((__turbopack_context__) => {
"use strict"; "use strict";
...@@ -113,6 +113,6 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo ...@@ -113,6 +113,6 @@ var __TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbo
; ;
console.log(__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$source_maps$2f$react$2d$compiler$2f$input$2f$Component$2e$jsx__$5b$test$5d$__$28$ecmascript$29$__["Counter"]); console.log(__TURBOPACK__imported__module__$5b$project$5d2f$turbopack$2f$crates$2f$turbopack$2d$tests$2f$tests$2f$snapshot$2f$source_maps$2f$react$2d$compiler$2f$input$2f$Component$2e$jsx__$5b$test$5d$__$28$ecmascript$29$__["Counter"]);
}), }),
]);})() ]);
//# sourceMappingURL=turbopack_crates_turbopack-tests_tests_snapshot_16i0hbsemtixh._.js.map //# sourceMappingURL=turbopack_crates_turbopack-tests_tests_snapshot_16i0hbsemtixh._.js.map
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment