MCPcopy
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 }>} */
2module.exports = function (source) {
3 var idx = this.updateIndex;
4 var items = source.split(/---+\r?\n/g);

Callers

nothing calls this directly

Calls 2

splitMethod · 0.80
cacheableMethod · 0.65

Tested by

no test coverage detected