UNPKG

svg-spritemap-webpack-plugin

Version:

Generates symbol-based SVG spritemap from all .svg files in a directory

16 lines (12 loc) 487 B
const WebpackError = require('webpack/lib/WebpackError'); module.exports = class VariablesNotSupportedWithFragmentsWarning extends WebpackError { constructor() { super(); this.name = 'VariablesNotSupportedWithFragmentsWarning'; this.message = [ require('../../package.json').name, `Variables will not work when using styles.format 'fragments'` ].join('\n'); Error.captureStackTrace(this, this.constructor); } };