Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/webpack/webpack
/ fake-update-loader.js
File
fake-update-loader.js
test/hotCases/fake-update-loader.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
/** @
type
{
import
(
"../../"
).LoaderDefinition<{}, { updateIndex: number }>} */
2
module.exports =
function
(source) {
3
var
idx = this.updateIndex;
4
var
items = source.split(/---+\r?\n/g);
Callers
nothing calls this directly
Calls
2
split
Method · 0.80
cacheable
Method · 0.65
Tested by
no test coverage detected