generate()

in packages/extract-svg-sprite-webpack-plugin/lib/utils/runtime-generator.js [126:139]


  generate() {
    const runtime = this.generateWrapper({
      id: this.id(),
      url: this.url(),
      width: this.width(),
      height: this.height(),
      viewBox: this.viewBox(),
      toString: this.toString(),
      backgroundSize: this.backgroundSize(),
      backgroundPosition: this.backgroundPosition()
    });

    return `module.exports = ${runtime}`;
  }