Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/webpack/webpack
/ index.js
File
index.js
test/cases/chunks/import-context-exist-chunk/index.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
it(
"should resolve when import existed chunk (#8626)"
,
function
(done) {
2
require.context(
"./dir-initial/"
);
3
const
fileName =
"initialModule"
;
4
import
(`./dir-initial/${fileName}`).then(({default:m}) => {
Callers
nothing calls this directly
Calls
2
context
Method · 0.80
it
Function · 0.50
Tested by
no test coverage detected