svg-spritemap-webpack-plugin
Version:
Generates symbol-based SVG spritemap from all .svg files in a directory
16 lines (12 loc) • 470 B
JavaScript
const WebpackError = require('webpack/lib/WebpackError');
module.exports = class OptionsMismatchWarning extends WebpackError {
constructor(message) {
super();
this.name = 'OptionsMismatchWarning';
this.message = [
require('../../package.json').name,
`The following mismatch between multiple options was detected: \n${message}`
].join('\n');
Error.captureStackTrace(this, this.constructor);
}
};