in packages/extract-svg-sprite-webpack-plugin/lib/plugin.js [24:35]
constructor(cfg) {
this.id = ++INSTANCE_COUNTER;
this.config = configure(cfg);
const errors = validate(schemas.plugin, this.config);
if (errors.length) {
throw new Error(`${packageName}: ${errors.join('\n')}`);
}
this.compiler = new SpriteCompiler(this.config);
}