Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
N
next.js
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alex
next.js
Commits
625dccbc
Unverified
Commit
625dccbc
authored
Jul 28, 2026
by
Sam Poder
Committed by
GitHub
Jul 28, 2026
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "[turbopack] Track re-exports in `import_usage` inside of `compute_import_usage`" (#96311)
Reverts vercel/next.js#95989
parent
ccfe67aa
Hide whitespace changes
Inline
Side-by-side
Showing
42 changed files
with
8 additions
and
290 deletions
+8
-290
imports.rs
...opack/crates/turbopack-ecmascript/src/analyzer/imports.rs
+8
-40
index.js
...k-tests/tests/snapshot/reexport-drop/basic/input/index.js
+0
-6
lib.js
...ack-tests/tests/snapshot/reexport-drop/basic/input/lib.js
+0
-2
unused.js
...-tests/tests/snapshot/reexport-drop/basic/input/unused.js
+0
-1
options.json
...ack-tests/tests/snapshot/reexport-drop/basic/options.json
+0
-6
1do3_crates_turbopack-tests_tests_snapshot_reexport-drop_basic_input_index_0riermg.js.map
...s_snapshot_reexport-drop_basic_input_index_0riermg.js.map
+0
-5
1do3_crates_turbopack-tests_tests_snapshot_reexport-drop_basic_input_index_14t7f_0.js
...tests_snapshot_reexport-drop_basic_input_index_14t7f_0.js
+0
-12
1do3_crates_turbopack-tests_tests_snapshot_reexport-drop_basic_input_index_14t7f_0.js.map
...s_snapshot_reexport-drop_basic_input_index_14t7f_0.js.map
+0
-6
1do3_crates_turbopack-tests_tests_snapshot_reexport-drop_basic_input_lib_02nzs5r.js
...s_tests_snapshot_reexport-drop_basic_input_lib_02nzs5r.js
+0
-15
1do3_crates_turbopack-tests_tests_snapshot_reexport-drop_basic_input_lib_02nzs5r.js.map
...sts_snapshot_reexport-drop_basic_input_lib_02nzs5r.js.map
+0
-6
1do3_crates_turbopack-tests_tests_snapshot_reexport-drop_basic_input_lib_0u9f373.js
...s_tests_snapshot_reexport-drop_basic_input_lib_0u9f373.js
+0
-12
1do3_crates_turbopack-tests_tests_snapshot_reexport-drop_basic_input_lib_0u9f373.js.map
...sts_snapshot_reexport-drop_basic_input_lib_0u9f373.js.map
+0
-5
1i9t_crates_turbopack-tests_tests_snapshot_reexport-drop_basic_input_index_0riermg.js
...tests_snapshot_reexport-drop_basic_input_index_0riermg.js
+0
-5
index.js
...tests/tests/snapshot/reexport-drop/dynamic/input/index.js
+0
-6
lib.js
...k-tests/tests/snapshot/reexport-drop/dynamic/input/lib.js
+0
-2
unused.js
...ests/tests/snapshot/reexport-drop/dynamic/input/unused.js
+0
-1
options.json
...k-tests/tests/snapshot/reexport-drop/dynamic/options.json
+0
-6
1do3_crates_turbopack-tests_tests_snapshot_reexport-drop_dynamic_input_index_138bkae.js
...sts_snapshot_reexport-drop_dynamic_input_index_138bkae.js
+0
-12
1do3_crates_turbopack-tests_tests_snapshot_reexport-drop_dynamic_input_index_138bkae.js.map
...snapshot_reexport-drop_dynamic_input_index_138bkae.js.map
+0
-6
1do3_crates_turbopack-tests_tests_snapshot_reexport-drop_dynamic_input_index_1dawwqa.js.map
...snapshot_reexport-drop_dynamic_input_index_1dawwqa.js.map
+0
-5
1do3_crates_turbopack-tests_tests_snapshot_reexport-drop_dynamic_input_lib_062uldb.js
...tests_snapshot_reexport-drop_dynamic_input_lib_062uldb.js
+0
-12
1do3_crates_turbopack-tests_tests_snapshot_reexport-drop_dynamic_input_lib_062uldb.js.map
...s_snapshot_reexport-drop_dynamic_input_lib_062uldb.js.map
+0
-5
1do3_crates_turbopack-tests_tests_snapshot_reexport-drop_dynamic_input_lib_1_1s1zh.js
...tests_snapshot_reexport-drop_dynamic_input_lib_1_1s1zh.js
+0
-15
1do3_crates_turbopack-tests_tests_snapshot_reexport-drop_dynamic_input_lib_1_1s1zh.js.map
...s_snapshot_reexport-drop_dynamic_input_lib_1_1s1zh.js.map
+0
-6
1i9t_crates_turbopack-tests_tests_snapshot_reexport-drop_dynamic_input_index_1dawwqa.js
...sts_snapshot_reexport-drop_dynamic_input_index_1dawwqa.js
+0
-5
index.js
...tests/tests/snapshot/reexport-drop/renamed/input/index.js
+0
-3
lib.js
...k-tests/tests/snapshot/reexport-drop/renamed/input/lib.js
+0
-2
origin.js
...ests/tests/snapshot/reexport-drop/renamed/input/origin.js
+0
-1
unused.js
...ests/tests/snapshot/reexport-drop/renamed/input/unused.js
+0
-1
options.json
...k-tests/tests/snapshot/reexport-drop/renamed/options.json
+0
-5
1do3_crates_turbopack-tests_tests_snapshot_reexport-drop_renamed_input_index_03l_5yx.js.map
...snapshot_reexport-drop_renamed_input_index_03l_5yx.js.map
+0
-5
1do3_crates_turbopack-tests_tests_snapshot_reexport-drop_renamed_input_index_19qb5ne.js
...sts_snapshot_reexport-drop_renamed_input_index_19qb5ne.js
+0
-20
1do3_crates_turbopack-tests_tests_snapshot_reexport-drop_renamed_input_index_19qb5ne.js.map
...snapshot_reexport-drop_renamed_input_index_19qb5ne.js.map
+0
-6
1i9t_crates_turbopack-tests_tests_snapshot_reexport-drop_renamed_input_index_03l_5yx.js
...sts_snapshot_reexport-drop_renamed_input_index_03l_5yx.js
+0
-5
index.js
...-tests/tests/snapshot/reexport-drop/static/input/index.js
+0
-3
lib.js
...ck-tests/tests/snapshot/reexport-drop/static/input/lib.js
+0
-2
unused.js
...tests/tests/snapshot/reexport-drop/static/input/unused.js
+0
-1
options.json
...ck-tests/tests/snapshot/reexport-drop/static/options.json
+0
-1
1do3_crates_turbopack-tests_tests_snapshot_reexport-drop_static_input_index_01ttfgs.js
...ests_snapshot_reexport-drop_static_input_index_01ttfgs.js
+0
-17
1do3_crates_turbopack-tests_tests_snapshot_reexport-drop_static_input_index_01ttfgs.js.map
..._snapshot_reexport-drop_static_input_index_01ttfgs.js.map
+0
-6
1do3_crates_turbopack-tests_tests_snapshot_reexport-drop_static_input_index_1noyz-u.js.map
..._snapshot_reexport-drop_static_input_index_1noyz-u.js.map
+0
-5
1i9t_crates_turbopack-tests_tests_snapshot_reexport-drop_static_input_index_1noyz-u.js
...ests_snapshot_reexport-drop_static_input_index_1noyz-u.js
+0
-5
No files found.
turbopack/crates/turbopack-ecmascript/src/analyzer/imports.rs
View file @
625dccbc
...
@@ -6,7 +6,6 @@ use std::{
...
@@ -6,7 +6,6 @@ use std::{
};
};
use
anyhow
::{
Context
,
Result
};
use
anyhow
::{
Context
,
Result
};
use
auto_hash_map
::
AutoSet
;
use
rustc_hash
::{
FxHashMap
,
FxHashSet
};
use
rustc_hash
::{
FxHashMap
,
FxHashSet
};
use
smallvec
::
SmallVec
;
use
smallvec
::
SmallVec
;
use
swc_core
::{
use
swc_core
::{
...
@@ -290,8 +289,6 @@ pub(crate) struct ProgramDeclUsage {
...
@@ -290,8 +289,6 @@ pub(crate) struct ProgramDeclUsage {
pub
(
crate
)
decl_usages
:
FxHashMap
<
Id
,
DeclUsage
>
,
pub
(
crate
)
decl_usages
:
FxHashMap
<
Id
,
DeclUsage
>
,
// import -> immediate usage (top level decl)
// import -> immediate usage (top level decl)
pub
(
crate
)
import_usages
:
FxHashMap
<
usize
,
DeclUsage
>
,
pub
(
crate
)
import_usages
:
FxHashMap
<
usize
,
DeclUsage
>
,
// import reference -> names it is directly re-exported as (`export { x } from '...'`)
pub
(
crate
)
named_reexports
:
FxHashMap
<
usize
,
AutoSet
<
RcStr
>>
,
// export name -> top level decl
// export name -> top level decl
pub
(
crate
)
exports
:
FxHashMap
<
RcStr
,
Id
>
,
pub
(
crate
)
exports
:
FxHashMap
<
RcStr
,
Id
>
,
}
}
...
@@ -340,24 +337,6 @@ impl ProgramDeclUsage {
...
@@ -340,24 +337,6 @@ impl ProgramDeclUsage {
);
);
}
}
}
}
// Fold re-exports (`export { x } from "foo"`) into `import_usage` for tree-shaking.
for
(
reference
,
names
)
in
&
self
.named_reexports
{
let
usage
=
match
import_usage
.get
(
reference
)
{
Some
(
ImportUsage
::
TopLevel
)
=>
continue
,
// Used locally and re-exported, e.g.
// `import {foo} from 'm'; export function w(){foo()} export {foo} from 'm'`
// → union: Exports({"w"}) ∪ {"foo"}.
Some
(
ImportUsage
::
Exports
(
existing
))
=>
ImportUsage
::
Exports
(
existing
.iter
()
.cloned
()
.chain
(
names
.iter
()
.cloned
())
.collect
(),
),
None
=>
ImportUsage
::
Exports
(
names
.iter
()
.cloned
()
.collect
()),
};
import_usage
.insert
(
*
reference
,
usage
);
}
import_usage
import_usage
}
}
}
}
...
@@ -1007,37 +986,26 @@ impl Visit for Analyzer<'_> {
...
@@ -1007,37 +986,26 @@ impl Visit for Analyzer<'_> {
annotations
.clone
(),
annotations
.clone
(),
);
);
let
name
=
match
spec
{
match
spec
{
ExportSpecifier
::
Namespace
(
n
)
=>
{
ExportSpecifier
::
Namespace
(
n
)
=>
{
let
name
=
RcStr
::
from
(
n
.name
.atom
()
.as_str
());
self
.data.exports
.insert
(
self
.data
RcStr
::
from
(
n
.name
.atom
()
.as_str
()),
.exports
Export
::
ImportedNamespace
(
i
),
.insert
(
name
.clone
(),
Export
::
ImportedNamespace
(
i
));
);
name
}
}
ExportSpecifier
::
Default
(
d
)
=>
{
ExportSpecifier
::
Default
(
d
)
=>
{
let
name
=
RcStr
::
from
(
d
.exported.sym
.as_str
());
self
.data.exports
.insert
(
self
.data.exports
.insert
(
name
.clone
(
),
RcStr
::
from
(
d
.exported.sym
.as_str
()
),
Export
::
ImportedBinding
(
i
,
rcstr!
(
"default"
),
false
),
Export
::
ImportedBinding
(
i
,
rcstr!
(
"default"
),
false
),
);
);
name
}
}
ExportSpecifier
::
Named
(
n
)
=>
{
ExportSpecifier
::
Named
(
n
)
=>
{
let
name
=
RcStr
::
from
(
n
.exported
.as_ref
()
.unwrap_or
(
&
n
.orig
)
.atom
()
.as_str
());
self
.data.exports
.insert
(
self
.data.exports
.insert
(
name
.clone
(
),
RcStr
::
from
(
n
.exported
.as_ref
()
.unwrap_or
(
&
n
.orig
)
.atom
()
.as_str
()
),
Export
::
ImportedBinding
(
i
,
RcStr
::
from
(
n
.orig
.atom
()
.as_str
()),
false
),
Export
::
ImportedBinding
(
i
,
RcStr
::
from
(
n
.orig
.atom
()
.as_str
()),
false
),
);
);
name
}
}
};
}
self
.program_decl_usage
.named_reexports
.entry
(
i
)
.or_default
()
.insert
(
name
);
}
}
}
else
{
}
else
{
for
spec
in
export
.specifiers
.iter
()
{
for
spec
in
export
.specifiers
.iter
()
{
...
...
turbopack/crates/turbopack-tests/tests/snapshot/reexport-drop/basic/input/index.js
deleted
100644 → 0
View file @
ccfe67aa
async
function
load
()
{
const
{
used
}
=
await
import
(
'./lib.js'
)
console
.
log
(
used
)
}
load
()
turbopack/crates/turbopack-tests/tests/snapshot/reexport-drop/basic/input/lib.js
deleted
100644 → 0
View file @
ccfe67aa
export
const
used
=
'USED'
export
{
unused
}
from
'./unused.js'
turbopack/crates/turbopack-tests/tests/snapshot/reexport-drop/basic/input/unused.js
deleted
100644 → 0
View file @
ccfe67aa
export
const
unused
=
'UNUSED_MARKER'
turbopack/crates/turbopack-tests/tests/snapshot/reexport-drop/basic/options.json
deleted
100644 → 0
View file @
ccfe67aa
{
"removeUnusedImports"
:
true
,
"removeUnusedExports"
:
true
,
"treeShakingMode"
:
"reexports-only"
,
"scopeHoisting"
:
true
}
turbopack/crates/turbopack-tests/tests/snapshot/reexport-drop/basic/output/1do3_crates_turbopack-tests_tests_snapshot_reexport-drop_basic_input_index_0riermg.js.map
deleted
100644 → 0
View file @
ccfe67aa
{
"version": 3,
"sources": [],
"sections": []
}
\ No newline at end of file
turbopack/crates/turbopack-tests/tests/snapshot/reexport-drop/basic/output/1do3_crates_turbopack-tests_tests_snapshot_reexport-drop_basic_input_index_14t7f_0.js
deleted
100644 → 0
View file @
ccfe67aa
(
globalThis
[
"TURBOPACK"
]
||
(
globalThis
[
"TURBOPACK"
]
=
[])).
push
([
"output/1do3_crates_turbopack-tests_tests_snapshot_reexport-drop_basic_input_index_14t7f_0.js"
,
"[project]/turbopack/crates/turbopack-tests/tests/snapshot/reexport-drop/basic/input/index.js [test] (ecmascript)"
,
((
__turbopack_context__
,
module
,
exports
)
=>
{
async
function
load
()
{
const
{
used
}
=
await
__turbopack_context__
.
A
(
"[project]/turbopack/crates/turbopack-tests/tests/snapshot/reexport-drop/basic/input/lib.js [test] (ecmascript, async loader)"
);
console
.
log
(
used
);
}
load
();
}),
]);
//# sourceMappingURL=1do3_crates_turbopack-tests_tests_snapshot_reexport-drop_basic_input_index_14t7f_0.js.map
\ No newline at end of file
turbopack/crates/turbopack-tests/tests/snapshot/reexport-drop/basic/output/1do3_crates_turbopack-tests_tests_snapshot_reexport-drop_basic_input_index_14t7f_0.js.map
deleted
100644 → 0
View file @
ccfe67aa
{
"version"
:
3
,
"sources"
:
[],
"sections"
:
[
{
"offset"
:
{
"line"
:
3
,
"column"
:
0
},
"map"
:
{
"version"
:
3
,
"sources"
:
[
"turbopack:///[project]/turbopack/crates/turbopack-tests/tests/snapshot/reexport-drop/basic/input/index.js"
],
"sourcesContent"
:
[
"async function load() {\n const { used } = await import('./lib.js')
\n
console.log(used)
\n
}
\n\n
load()
\n
"
],
"names"
:
[
"load"
,
"used"
,
"console"
,
"log"
],
"mappings"
:
"AAAA,eAAeA;IACb,MAAM,EAAEC,IAAI,EAAE,GAAG;IACjBC,QAAQC,GAAG,CAACF;AACd;AAEAD"
}}]
}
\ No newline at end of file
turbopack/crates/turbopack-tests/tests/snapshot/reexport-drop/basic/output/1do3_crates_turbopack-tests_tests_snapshot_reexport-drop_basic_input_lib_02nzs5r.js
deleted
100644 → 0
View file @
ccfe67aa
(
globalThis
[
"TURBOPACK"
]
||
(
globalThis
[
"TURBOPACK"
]
=
[])).
push
([
"output/1do3_crates_turbopack-tests_tests_snapshot_reexport-drop_basic_input_lib_02nzs5r.js"
,
"[project]/turbopack/crates/turbopack-tests/tests/snapshot/reexport-drop/basic/input/lib.js [test] (ecmascript)"
,
((
__turbopack_context__
)
=>
{
"use strict"
;
const
used
=
'USED'
;
;
__turbopack_context__
.
s
([
"used"
,
0
,
used
]);
}),
]);
//# sourceMappingURL=1do3_crates_turbopack-tests_tests_snapshot_reexport-drop_basic_input_lib_02nzs5r.js.map
\ No newline at end of file
turbopack/crates/turbopack-tests/tests/snapshot/reexport-drop/basic/output/1do3_crates_turbopack-tests_tests_snapshot_reexport-drop_basic_input_lib_02nzs5r.js.map
deleted
100644 → 0
View file @
ccfe67aa
{
"version": 3,
"sources": [],
"sections": [
{"offset": {"line": 4, "column": 0}, "map": {"version":3,"sources":["turbopack:///[project]/turbopack/crates/turbopack-tests/tests/snapshot/reexport-drop/basic/input/lib.js"],"sourcesContent":["export const used = 'USED'\nexport { unused } from './unused.js'\n"],"names":["used"],"mappings":"AAAO,MAAMA,OAAO"}}]
}
\ No newline at end of file
turbopack/crates/turbopack-tests/tests/snapshot/reexport-drop/basic/output/1do3_crates_turbopack-tests_tests_snapshot_reexport-drop_basic_input_lib_0u9f373.js
deleted
100644 → 0
View file @
ccfe67aa
(
globalThis
[
"TURBOPACK"
]
||
(
globalThis
[
"TURBOPACK"
]
=
[])).
push
([
"output/1do3_crates_turbopack-tests_tests_snapshot_reexport-drop_basic_input_lib_0u9f373.js"
,
"[project]/turbopack/crates/turbopack-tests/tests/snapshot/reexport-drop/basic/input/lib.js [test] (ecmascript, async loader)"
,
((
__turbopack_context__
)
=>
{
__turbopack_context__
.
v
((
parentImport
)
=>
{
return
Promise
.
all
([
"output/1do3_crates_turbopack-tests_tests_snapshot_reexport-drop_basic_input_lib_02nzs5r.js"
].
map
((
chunk
)
=>
__turbopack_context__
.
l
(
chunk
))).
then
(()
=>
{
return
parentImport
(
"[project]/turbopack/crates/turbopack-tests/tests/snapshot/reexport-drop/basic/input/lib.js [test] (ecmascript)"
);
});
});
}),
]);
\ No newline at end of file
turbopack/crates/turbopack-tests/tests/snapshot/reexport-drop/basic/output/1do3_crates_turbopack-tests_tests_snapshot_reexport-drop_basic_input_lib_0u9f373.js.map
deleted
100644 → 0
View file @
ccfe67aa
{
"version": 3,
"sources": [],
"sections": []
}
\ No newline at end of file
turbopack/crates/turbopack-tests/tests/snapshot/reexport-drop/basic/output/1i9t_crates_turbopack-tests_tests_snapshot_reexport-drop_basic_input_index_0riermg.js
deleted
100644 → 0
View file @
ccfe67aa
(
globalThis
[
"TURBOPACK"
]
||
(
globalThis
[
"TURBOPACK"
]
=
[])).
push
([
"output/1i9t_crates_turbopack-tests_tests_snapshot_reexport-drop_basic_input_index_0riermg.js"
,
{
"otherChunks"
:[
"output/1do3_crates_turbopack-tests_tests_snapshot_reexport-drop_basic_input_lib_0u9f373.js"
,
"output/1do3_crates_turbopack-tests_tests_snapshot_reexport-drop_basic_input_index_14t7f_0.js"
],
"runtimeModuleIds"
:[
"[project]/turbopack/crates/turbopack-tests/tests/snapshot/reexport-drop/basic/input/index.js [test] (ecmascript)"
]}
]);
// Dummy runtime
\ No newline at end of file
turbopack/crates/turbopack-tests/tests/snapshot/reexport-drop/dynamic/input/index.js
deleted
100644 → 0
View file @
ccfe67aa
async
function
load
()
{
const
{
used
}
=
await
import
(
'./lib.js'
)
console
.
log
(
used
)
}
load
()
turbopack/crates/turbopack-tests/tests/snapshot/reexport-drop/dynamic/input/lib.js
deleted
100644 → 0
View file @
ccfe67aa
export
const
used
=
'USED'
export
{
unused
}
from
'./unused.js'
turbopack/crates/turbopack-tests/tests/snapshot/reexport-drop/dynamic/input/unused.js
deleted
100644 → 0
View file @
ccfe67aa
export
const
unused
=
'UNUSED_MARKER'
turbopack/crates/turbopack-tests/tests/snapshot/reexport-drop/dynamic/options.json
deleted
100644 → 0
View file @
ccfe67aa
{
"removeUnusedImports"
:
true
,
"removeUnusedExports"
:
true
,
"treeShakingMode"
:
null
,
"scopeHoisting"
:
true
}
turbopack/crates/turbopack-tests/tests/snapshot/reexport-drop/dynamic/output/1do3_crates_turbopack-tests_tests_snapshot_reexport-drop_dynamic_input_index_138bkae.js
deleted
100644 → 0
View file @
ccfe67aa
(
globalThis
[
"TURBOPACK"
]
||
(
globalThis
[
"TURBOPACK"
]
=
[])).
push
([
"output/1do3_crates_turbopack-tests_tests_snapshot_reexport-drop_dynamic_input_index_138bkae.js"
,
"[project]/turbopack/crates/turbopack-tests/tests/snapshot/reexport-drop/dynamic/input/index.js [test] (ecmascript)"
,
((
__turbopack_context__
,
module
,
exports
)
=>
{
async
function
load
()
{
const
{
used
}
=
await
__turbopack_context__
.
A
(
"[project]/turbopack/crates/turbopack-tests/tests/snapshot/reexport-drop/dynamic/input/lib.js [test] (ecmascript, async loader)"
);
console
.
log
(
used
);
}
load
();
}),
]);
//# sourceMappingURL=1do3_crates_turbopack-tests_tests_snapshot_reexport-drop_dynamic_input_index_138bkae.js.map
\ No newline at end of file
turbopack/crates/turbopack-tests/tests/snapshot/reexport-drop/dynamic/output/1do3_crates_turbopack-tests_tests_snapshot_reexport-drop_dynamic_input_index_138bkae.js.map
deleted
100644 → 0
View file @
ccfe67aa
{
"version"
:
3
,
"sources"
:
[],
"sections"
:
[
{
"offset"
:
{
"line"
:
3
,
"column"
:
0
},
"map"
:
{
"version"
:
3
,
"sources"
:
[
"turbopack:///[project]/turbopack/crates/turbopack-tests/tests/snapshot/reexport-drop/dynamic/input/index.js"
],
"sourcesContent"
:
[
"async function load() {\n const { used } = await import('./lib.js')
\n
console.log(used)
\n
}
\n\n
load()
\n
"
],
"names"
:
[
"load"
,
"used"
,
"console"
,
"log"
],
"mappings"
:
"AAAA,eAAeA;IACb,MAAM,EAAEC,IAAI,EAAE,GAAG;IACjBC,QAAQC,GAAG,CAACF;AACd;AAEAD"
}}]
}
\ No newline at end of file
turbopack/crates/turbopack-tests/tests/snapshot/reexport-drop/dynamic/output/1do3_crates_turbopack-tests_tests_snapshot_reexport-drop_dynamic_input_index_1dawwqa.js.map
deleted
100644 → 0
View file @
ccfe67aa
{
"version": 3,
"sources": [],
"sections": []
}
\ No newline at end of file
turbopack/crates/turbopack-tests/tests/snapshot/reexport-drop/dynamic/output/1do3_crates_turbopack-tests_tests_snapshot_reexport-drop_dynamic_input_lib_062uldb.js
deleted
100644 → 0
View file @
ccfe67aa
(
globalThis
[
"TURBOPACK"
]
||
(
globalThis
[
"TURBOPACK"
]
=
[])).
push
([
"output/1do3_crates_turbopack-tests_tests_snapshot_reexport-drop_dynamic_input_lib_062uldb.js"
,
"[project]/turbopack/crates/turbopack-tests/tests/snapshot/reexport-drop/dynamic/input/lib.js [test] (ecmascript, async loader)"
,
((
__turbopack_context__
)
=>
{
__turbopack_context__
.
v
((
parentImport
)
=>
{
return
Promise
.
all
([
"output/1do3_crates_turbopack-tests_tests_snapshot_reexport-drop_dynamic_input_lib_1_1s1zh.js"
].
map
((
chunk
)
=>
__turbopack_context__
.
l
(
chunk
))).
then
(()
=>
{
return
parentImport
(
"[project]/turbopack/crates/turbopack-tests/tests/snapshot/reexport-drop/dynamic/input/lib.js [test] (ecmascript)"
);
});
});
}),
]);
\ No newline at end of file
turbopack/crates/turbopack-tests/tests/snapshot/reexport-drop/dynamic/output/1do3_crates_turbopack-tests_tests_snapshot_reexport-drop_dynamic_input_lib_062uldb.js.map
deleted
100644 → 0
View file @
ccfe67aa
{
"version": 3,
"sources": [],
"sections": []
}
\ No newline at end of file
turbopack/crates/turbopack-tests/tests/snapshot/reexport-drop/dynamic/output/1do3_crates_turbopack-tests_tests_snapshot_reexport-drop_dynamic_input_lib_1_1s1zh.js
deleted
100644 → 0
View file @
ccfe67aa
(
globalThis
[
"TURBOPACK"
]
||
(
globalThis
[
"TURBOPACK"
]
=
[])).
push
([
"output/1do3_crates_turbopack-tests_tests_snapshot_reexport-drop_dynamic_input_lib_1_1s1zh.js"
,
"[project]/turbopack/crates/turbopack-tests/tests/snapshot/reexport-drop/dynamic/input/lib.js [test] (ecmascript)"
,
((
__turbopack_context__
)
=>
{
"use strict"
;
const
used
=
'USED'
;
;
__turbopack_context__
.
s
([
"used"
,
0
,
used
]);
}),
]);
//# sourceMappingURL=1do3_crates_turbopack-tests_tests_snapshot_reexport-drop_dynamic_input_lib_1_1s1zh.js.map
\ No newline at end of file
turbopack/crates/turbopack-tests/tests/snapshot/reexport-drop/dynamic/output/1do3_crates_turbopack-tests_tests_snapshot_reexport-drop_dynamic_input_lib_1_1s1zh.js.map
deleted
100644 → 0
View file @
ccfe67aa
{
"version": 3,
"sources": [],
"sections": [
{"offset": {"line": 4, "column": 0}, "map": {"version":3,"sources":["turbopack:///[project]/turbopack/crates/turbopack-tests/tests/snapshot/reexport-drop/dynamic/input/lib.js"],"sourcesContent":["export const used = 'USED'\nexport { unused } from './unused.js'\n"],"names":["used"],"mappings":"AAAO,MAAMA,OAAO"}}]
}
\ No newline at end of file
turbopack/crates/turbopack-tests/tests/snapshot/reexport-drop/dynamic/output/1i9t_crates_turbopack-tests_tests_snapshot_reexport-drop_dynamic_input_index_1dawwqa.js
deleted
100644 → 0
View file @
ccfe67aa
(
globalThis
[
"TURBOPACK"
]
||
(
globalThis
[
"TURBOPACK"
]
=
[])).
push
([
"output/1i9t_crates_turbopack-tests_tests_snapshot_reexport-drop_dynamic_input_index_1dawwqa.js"
,
{
"otherChunks"
:[
"output/1do3_crates_turbopack-tests_tests_snapshot_reexport-drop_dynamic_input_lib_062uldb.js"
,
"output/1do3_crates_turbopack-tests_tests_snapshot_reexport-drop_dynamic_input_index_138bkae.js"
],
"runtimeModuleIds"
:[
"[project]/turbopack/crates/turbopack-tests/tests/snapshot/reexport-drop/dynamic/input/index.js [test] (ecmascript)"
]}
]);
// Dummy runtime
\ No newline at end of file
turbopack/crates/turbopack-tests/tests/snapshot/reexport-drop/renamed/input/index.js
deleted
100644 → 0
View file @
ccfe67aa
import
{
y
}
from
'./lib.js'
console
.
log
(
y
)
turbopack/crates/turbopack-tests/tests/snapshot/reexport-drop/renamed/input/lib.js
deleted
100644 → 0
View file @
ccfe67aa
export
{
x
as
y
}
from
'./origin.js'
export
{
z
}
from
'./unused.js'
turbopack/crates/turbopack-tests/tests/snapshot/reexport-drop/renamed/input/origin.js
deleted
100644 → 0
View file @
ccfe67aa
export
const
x
=
'X_USED_MARKER'
turbopack/crates/turbopack-tests/tests/snapshot/reexport-drop/renamed/input/unused.js
deleted
100644 → 0
View file @
ccfe67aa
export
const
z
=
'Z_UNUSED_MARKER'
turbopack/crates/turbopack-tests/tests/snapshot/reexport-drop/renamed/options.json
deleted
100644 → 0
View file @
ccfe67aa
{
"removeUnusedImports"
:
true
,
"removeUnusedExports"
:
true
,
"scopeHoisting"
:
true
}
turbopack/crates/turbopack-tests/tests/snapshot/reexport-drop/renamed/output/1do3_crates_turbopack-tests_tests_snapshot_reexport-drop_renamed_input_index_03l_5yx.js.map
deleted
100644 → 0
View file @
ccfe67aa
{
"version": 3,
"sources": [],
"sections": []
}
\ No newline at end of file
turbopack/crates/turbopack-tests/tests/snapshot/reexport-drop/renamed/output/1do3_crates_turbopack-tests_tests_snapshot_reexport-drop_renamed_input_index_19qb5ne.js
deleted
100644 → 0
View file @
ccfe67aa
(
globalThis
[
"TURBOPACK"
]
||
(
globalThis
[
"TURBOPACK"
]
=
[])).
push
([
"output/1do3_crates_turbopack-tests_tests_snapshot_reexport-drop_renamed_input_index_19qb5ne.js"
,
"[project]/turbopack/crates/turbopack-tests/tests/snapshot/reexport-drop/renamed/input/index.js [test] (ecmascript)"
,
((
__turbopack_context__
)
=>
{
"use strict"
;
// MERGED MODULE: [project]/turbopack/crates/turbopack-tests/tests/snapshot/reexport-drop/renamed/input/index.js [test] (ecmascript)
;
// MERGED MODULE: [project]/turbopack/crates/turbopack-tests/tests/snapshot/reexport-drop/renamed/input/lib.js [test] (ecmascript)
;
// MERGED MODULE: [project]/turbopack/crates/turbopack-tests/tests/snapshot/reexport-drop/renamed/input/origin.js [test] (ecmascript)
;
const
x
=
'X_USED_MARKER'
;
;
;
;
console
.
log
(
x
);
__turbopack_context__
.
s
([],
"[project]/turbopack/crates/turbopack-tests/tests/snapshot/reexport-drop/renamed/input/index.js [test] (ecmascript)"
);
}),
]);
//# sourceMappingURL=1do3_crates_turbopack-tests_tests_snapshot_reexport-drop_renamed_input_index_19qb5ne.js.map
\ No newline at end of file
turbopack/crates/turbopack-tests/tests/snapshot/reexport-drop/renamed/output/1do3_crates_turbopack-tests_tests_snapshot_reexport-drop_renamed_input_index_19qb5ne.js.map
deleted
100644 → 0
View file @
ccfe67aa
{
"version": 3,
"sources": [],
"sections": [
{"offset": {"line": 4, "column": 0}, "map": {"version":3,"sources":["turbopack:///[project]/turbopack/crates/turbopack-tests/tests/snapshot/reexport-drop/renamed/input/origin.js","turbopack:///[project]/turbopack/crates/turbopack-tests/tests/snapshot/reexport-drop/renamed/input/index.js"],"sourcesContent":["export const x = 'X_USED_MARKER'\n","import { y } from './lib.js'\n\nconsole.log(y)\n"],"names":["x"],"mappings":";;;;;;AAAO,MAAMA,IAAI;;;;ACEjB,QAAQ,GAAG,CAAC"}}]
}
\ No newline at end of file
turbopack/crates/turbopack-tests/tests/snapshot/reexport-drop/renamed/output/1i9t_crates_turbopack-tests_tests_snapshot_reexport-drop_renamed_input_index_03l_5yx.js
deleted
100644 → 0
View file @
ccfe67aa
(
globalThis
[
"TURBOPACK"
]
||
(
globalThis
[
"TURBOPACK"
]
=
[])).
push
([
"output/1i9t_crates_turbopack-tests_tests_snapshot_reexport-drop_renamed_input_index_03l_5yx.js"
,
{
"otherChunks"
:[
"output/1do3_crates_turbopack-tests_tests_snapshot_reexport-drop_renamed_input_index_19qb5ne.js"
],
"runtimeModuleIds"
:[
"[project]/turbopack/crates/turbopack-tests/tests/snapshot/reexport-drop/renamed/input/index.js [test] (ecmascript)"
]}
]);
// Dummy runtime
\ No newline at end of file
turbopack/crates/turbopack-tests/tests/snapshot/reexport-drop/static/input/index.js
deleted
100644 → 0
View file @
ccfe67aa
import
{
used
}
from
'./lib.js'
console
.
log
(
used
)
turbopack/crates/turbopack-tests/tests/snapshot/reexport-drop/static/input/lib.js
deleted
100644 → 0
View file @
ccfe67aa
export
const
used
=
'USED'
export
{
unused
}
from
'./unused.js'
turbopack/crates/turbopack-tests/tests/snapshot/reexport-drop/static/input/unused.js
deleted
100644 → 0
View file @
ccfe67aa
export
const
unused
=
'UNUSED_MARKER'
turbopack/crates/turbopack-tests/tests/snapshot/reexport-drop/static/options.json
deleted
100644 → 0
View file @
ccfe67aa
{
"removeUnusedImports"
:
true
,
"removeUnusedExports"
:
true
,
"scopeHoisting"
:
true
}
turbopack/crates/turbopack-tests/tests/snapshot/reexport-drop/static/output/1do3_crates_turbopack-tests_tests_snapshot_reexport-drop_static_input_index_01ttfgs.js
deleted
100644 → 0
View file @
ccfe67aa
(
globalThis
[
"TURBOPACK"
]
||
(
globalThis
[
"TURBOPACK"
]
=
[])).
push
([
"output/1do3_crates_turbopack-tests_tests_snapshot_reexport-drop_static_input_index_01ttfgs.js"
,
"[project]/turbopack/crates/turbopack-tests/tests/snapshot/reexport-drop/static/input/index.js [test] (ecmascript)"
,
((
__turbopack_context__
)
=>
{
"use strict"
;
// MERGED MODULE: [project]/turbopack/crates/turbopack-tests/tests/snapshot/reexport-drop/static/input/index.js [test] (ecmascript)
;
// MERGED MODULE: [project]/turbopack/crates/turbopack-tests/tests/snapshot/reexport-drop/static/input/lib.js [test] (ecmascript)
;
const
used
=
'USED'
;
;
;
console
.
log
(
used
);
__turbopack_context__
.
s
([],
"[project]/turbopack/crates/turbopack-tests/tests/snapshot/reexport-drop/static/input/index.js [test] (ecmascript)"
);
}),
]);
//# sourceMappingURL=1do3_crates_turbopack-tests_tests_snapshot_reexport-drop_static_input_index_01ttfgs.js.map
\ No newline at end of file
turbopack/crates/turbopack-tests/tests/snapshot/reexport-drop/static/output/1do3_crates_turbopack-tests_tests_snapshot_reexport-drop_static_input_index_01ttfgs.js.map
deleted
100644 → 0
View file @
ccfe67aa
{
"version": 3,
"sources": [],
"sections": [
{"offset": {"line": 4, "column": 0}, "map": {"version":3,"sources":["turbopack:///[project]/turbopack/crates/turbopack-tests/tests/snapshot/reexport-drop/static/input/lib.js","turbopack:///[project]/turbopack/crates/turbopack-tests/tests/snapshot/reexport-drop/static/input/index.js"],"sourcesContent":["export const used = 'USED'\nexport { unused } from './unused.js'\n","import { used } from './lib.js'\n\nconsole.log(used)\n"],"names":["used"],"mappings":";;;;AAAO,MAAMA,OAAO;;;ACEpB,QAAQ,GAAG,CAAC"}}]
}
\ No newline at end of file
turbopack/crates/turbopack-tests/tests/snapshot/reexport-drop/static/output/1do3_crates_turbopack-tests_tests_snapshot_reexport-drop_static_input_index_1noyz-u.js.map
deleted
100644 → 0
View file @
ccfe67aa
{
"version": 3,
"sources": [],
"sections": []
}
\ No newline at end of file
turbopack/crates/turbopack-tests/tests/snapshot/reexport-drop/static/output/1i9t_crates_turbopack-tests_tests_snapshot_reexport-drop_static_input_index_1noyz-u.js
deleted
100644 → 0
View file @
ccfe67aa
(
globalThis
[
"TURBOPACK"
]
||
(
globalThis
[
"TURBOPACK"
]
=
[])).
push
([
"output/1i9t_crates_turbopack-tests_tests_snapshot_reexport-drop_static_input_index_1noyz-u.js"
,
{
"otherChunks"
:[
"output/1do3_crates_turbopack-tests_tests_snapshot_reexport-drop_static_input_index_01ttfgs.js"
],
"runtimeModuleIds"
:[
"[project]/turbopack/crates/turbopack-tests/tests/snapshot/reexport-drop/static/input/index.js [test] (ecmascript)"
]}
]);
// Dummy runtime
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment