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

Add svg as a default file extension #80

Closed

Conversation

seanpdoyle
Copy link

Modern browsers now support svg as a valid background-image value.

We should support this out of the box, without additional configuration.

[Modern browsers][caniuse] now support `svg` as a
valid [`background-image` value][background].

We should support this out of the box, without additional configuration.

[caniuse]: http://caniuse.com/#feat=svg-css
[background]: https://css-tricks.com/using-svg/
@seanpdoyle seanpdoyle force-pushed the sd-svg-default-extension branch from 02d0b17 to 5355fb7 Compare November 9, 2015 22:37
@rickharrison
Copy link
Collaborator

The only reason I'm hesitant to add this is because it is a breaking change and will prevent people from getting future bug fixes who have ^2.0.0 in their package.json

@seanpdoyle
Copy link
Author

I agree, it would certainly require at least a minor version bump, but in what way would previous behavior be "broken".

.svg files were ignored / unaffected in previous versions, right?

@rickharrison
Copy link
Collaborator

Well someone could explicitly not want svg's to be fingerprinted so I would consider this a major breaking change.

@seanpdoyle
Copy link
Author

@rickharrison good point.

Is a major version bump anywhere on the horizon, or is this a bonafide Bad Idea ™️ ?

@rickharrison
Copy link
Collaborator

I think it might be a good idea to save this for the next major version. I do have ideas for an internal refactoring to split some things out. I don't have an immediate timeline for that, but its something I'd like to do in the near future.

@buschtoens
Copy link

Relevant: #88

@seanpdoyle
Copy link
Author

Closing in favor of #88.

@seanpdoyle seanpdoyle closed this Dec 26, 2015
@seanpdoyle seanpdoyle deleted the sd-svg-default-extension branch December 26, 2015 01:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants