-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Cannot resolve const [imagemin, webp] = await Promise.all([import('imagemin'), import('imagemin-webp')]);
#3119
Comments
Are these packages installed locally? |
Indeed they are via package.json dependencies ...
"dependencies": {
"imagemin": "^9.0.0",
"imagemin-webp": "^8.0.0"
}
... |
The issue then, seems to be that both of these packages lack a I'd suggest putting them in |
I already did but maybe you should add a feature to auto-detect unsupported pkg types to not false positive in the meantime for better UX |
Due to the way resolvers are implemented, that would probably take almost as much time as the support itself. |
https://github.com/adamlui/js-utils/blob/23b8bbb60944f8207e9793ad3ec021ffedb39f9e/img-to-webp/img-to-webp.js#L18C1-L18C94 results in
The text was updated successfully, but these errors were encountered: