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

fix: add sharp package to fix sharp-missing-in-production warning #2060

Merged
merged 1 commit into from
Jan 16, 2024

Conversation

bowenliang123
Copy link
Contributor

@bowenliang123 bowenliang123 commented Jan 16, 2024

  • Fixed the sharp-missing-in-production warning when running yarn build, by adding sharp package as runtime dependency to web module
#    Creating an optimized production build ...                                                               
#  ⚠ For production Image Optimization with Next.js, the optional 'sharp' package is strongly recommended. Ru
# n 'npm i sharp', and Next.js will use it automatically for Image Optimization.                             
# Read more: https://nextjs.org/docs/messages/sharp-missing-in-production  

@dosubot dosubot bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Jan 16, 2024
@dosubot dosubot bot added the lgtm label Jan 16, 2024
@crazywoola crazywoola merged commit 2ffea39 into langgenius:main Jan 16, 2024
2 checks passed
@bowenliang123 bowenliang123 deleted the web-sharp branch January 17, 2024 06:50
@takatost takatost added this to the v0.4.8 milestone Jan 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size:XS This PR changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants