From cc97a4dd2a967e1c2273bd5f4c5f49a5bf2e2585 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Wed, 27 Mar 2019 21:01:33 +0100 Subject: remove node_modules --- node_modules/html-webpack-plugin/lib/errors.js | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 node_modules/html-webpack-plugin/lib/errors.js (limited to 'node_modules/html-webpack-plugin/lib/errors.js') diff --git a/node_modules/html-webpack-plugin/lib/errors.js b/node_modules/html-webpack-plugin/lib/errors.js deleted file mode 100644 index ddf3562b1..000000000 --- a/node_modules/html-webpack-plugin/lib/errors.js +++ /dev/null @@ -1,23 +0,0 @@ -'use strict'; -var PrettyError = require('pretty-error'); -var prettyError = new PrettyError(); -prettyError.withoutColors(); -prettyError.skipPackage(['html-plugin-evaluation']); -prettyError.skipNodeFiles(); -prettyError.skip(function (traceLine) { - return traceLine.path === 'html-plugin-evaluation'; -}); - -module.exports = function (err, context) { - return { - toHtml: function () { - return 'Html Webpack Plugin:\n
\n' + this.toString() + '
'; - }, - toJsonHtml: function () { - return JSON.stringify(this.toHtml()); - }, - toString: function () { - return prettyError.render(err).replace(/webpack:\/\/\/\./g, context); - } - }; -}; -- cgit v1.2.3