MCPcopy
hub / github.com/webpack/webpack / generate-big-asset-loader.js

File generate-big-asset-loader.js

test/cases/large/big-assets/generate-big-asset-loader.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1/** @type {import("../../../../").RawLoaderDefinition<{ size: string }>} */
2module.exports = function () {
3 const options = this.getOptions();
4 return Buffer.alloc(+options.size).fill(0xa5);

Callers

nothing calls this directly

Calls 1

getOptionsMethod · 0.65

Tested by

no test coverage detected