Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/webpack/webpack
/ index.js
File
index.js
test/cases/chunks/statical-dynamic-import-then/index.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
it(
"should load only used exports"
,
async
() => {
2
await
import
(
"../statical-dynamic-import/dir1/a"
).then(m => {
3
expect(m.default).toBe(3);
4
expect(m.usedExports).toEqual([
"default"
,
"usedExports"
]);
Callers
nothing calls this directly
Calls
3
it
Function · 0.50
r
Function · 0.50
f
Method · 0.45
Tested by
no test coverage detected