MCPcopy
hub / github.com/webpack/webpack / cleanUp

Function cleanUp

lib/ErrorHelpers.js:83–87  ·  view source on GitHub ↗
(stack, message)

Source from the content-addressed store, hash-verified

81 * @returns {string} stack trace without the loader execution flag and message included
82 */
83const cleanUp = (stack, message) => {
84 stack = cutOffLoaderExecution(stack);
85 stack = cutOffMessage(stack, message);
86 return stack;
87};
88
89/**
90 * Clean up webpack options.

Callers 2

constructorMethod · 0.85
constructorMethod · 0.85

Calls 2

cutOffLoaderExecutionFunction · 0.85
cutOffMessageFunction · 0.85

Tested by

no test coverage detected