How to use the @svgr/rollup.default function in @svgr/rollup

To help you get started, we’ve selected a few @svgr/rollup examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github priceline / design-system / packages / icons / rollup.config.js View on Github external
const svgr = require('@svgr/rollup').default
const svgSprite = require('rollup-plugin-svg-sprite')

const config = require('../../rollup.config')

config.plugins.push(svgr())
config.plugins.push(
  svgSprite({
    outputFolder: 'dist/public'
  })
)

module.exports = config

@svgr/rollup

SVGR Rollup plugin.

MIT
Latest version published 1 year ago

Package Health Score

62 / 100
Full package analysis

Popular @svgr/rollup functions