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

Automatically find next-level pictures #16

Open
1280103995 opened this issue May 27, 2022 · 0 comments
Open

Automatically find next-level pictures #16

1280103995 opened this issue May 27, 2022 · 0 comments

Comments

@1280103995
Copy link

As older phones become obsolete, @1x pictures are less and less useful. Therefore, when the project is no longer suitable for low-resolution mobile phones, the resource images only need @2x and @3x.

For projects where only @2x and @3x images exist, the Babel cannot find the files when loading the images.
f3c8191e-7e84-4f2a-9854-a1f25ea3a44e
90332170-eec3-4a6f-964c-f0ac21c3484d

So can this Babel support automatic loading of next-level images when @1x does not exist? For example: @2x, @3x.

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

No branches or pull requests

1 participant