Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/webpack/webpack
/ index.js
File
index.js
test/cases/chunks/context-weak/index.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
it(
"should not bundle context requires with asyncMode === 'weak'"
,
function
() {
2
var
contextRequire = require.context(
"."
, false, /two/,
"weak"
);
3
expect(
function
() {
4
contextRequire(
"./two"
)
Callers
nothing calls this directly
Calls
3
context
Method · 0.80
it
Function · 0.50
require
Function · 0.50
Tested by
no test coverage detected