Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Customize extension for inline/symbol svg #97

Closed
loremipson opened this issue Jun 23, 2015 · 1 comment
Closed

Customize extension for inline/symbol svg #97

loremipson opened this issue Jun 23, 2015 · 1 comment
Assignees

Comments

@loremipson
Copy link

I realize this might be an odd use case, but I have a Handlebars environment, with layouts and partials. I'd like the sprite to be generated as a .hbs file so I can include it as a partial in my templates.

I've tried it with:

mode: {
  inline: true,
  symbol: {
    sprite: 'inlineSvg.hbs'
  }
}

But in the end, it's still being saved out as inlineSvg.svg. Am I missing something with this, or is that not a supported feature at the moment?

@jkphl jkphl self-assigned this Jun 24, 2015
jkphl added a commit that referenced this issue Jun 24, 2015
jkphl added a commit that referenced this issue Jun 24, 2015
@jkphl
Copy link
Collaborator

jkphl commented Jun 24, 2015

Hey @loremipson,

thanks for reporting this. That's a legitimate use case I think, and I changed the behavior to not replacing the file extension to ".svg" by default. A new release will follow soon.

Cheers, Joschi

@jkphl jkphl closed this as completed Jun 24, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants