unvt / sprite-one

MIT License
13 stars 6 forks source link

@2x, @4x should be added at the end of file name when pixelRatio is specified as 2 or 4 #5

Closed JinIgarashi closed 2 years ago

JinIgarashi commented 2 years ago

I am not sure whether this is a right behavior, but if sprite-one put file name like sprite@2x or sprite@4x as default, it would be better?

JinIgarashi commented 2 years ago

How about the following specification for this issue?

It would be better to generate multiple pixel ratio's sprite once.