UNPKG

ember-svg-jar

Version:

Best way to use SVG images in Ember applications

10 lines (8 loc) 284 B
'use strict'; module.exports = { symbolIdGen: (svgPath, { prefix }) => `${prefix}${svgPath}`.replace(/[\s]/g, '-'), symbolCopypastaGen: assetId => `{{svg-jar "#${assetId}"}}`, inlineIdGen: svgPath => svgPath, inlineCopypastaGen: assetId => `{{svg-jar "${assetId}"}}`, };