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

Pass filepath information to svgo.optimize #59

Closed
Tsubomi opened this issue Jan 3, 2018 · 0 comments
Closed

Pass filepath information to svgo.optimize #59

Tsubomi opened this issue Jan 3, 2018 · 0 comments

Comments

@Tsubomi
Copy link

Tsubomi commented Jan 3, 2018

It looks like svgo added a prefixIds plugin recently that uses the name of the svg file being processed to created a prefix. grunt-svgmin isn't passing this value to svgo.optimize at the moment, so usage of the prefixIds plugin is limited to static strings.

https://github.com/svg/svgo/pull/700/files

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