UNPKG

ember-svg-jar

Version:

Best way to use SVG images in Ember applications

9 lines (7 loc) 285 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}"}}` };