MCPcopy
hub / github.com/webpack/webpack / cleanUpWebpackOptions

Function cleanUpWebpackOptions

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

Source from the content-addressed store, hash-verified

93 * @returns {string} stack trace without the webpack options flag and message included
94 */
95const cleanUpWebpackOptions = (stack, message) => {
96 stack = cutOffWebpackOptions(stack);
97 stack = cutOffMultilineMessage(stack, message);
98 return stack;
99};
100
101module.exports.cleanUp = cleanUp;
102module.exports.cleanUpWebpackOptions = cleanUpWebpackOptions;

Callers

nothing calls this directly

Calls 2

cutOffWebpackOptionsFunction · 0.85
cutOffMultilineMessageFunction · 0.85

Tested by

no test coverage detected