-
Notifications
You must be signed in to change notification settings - Fork 73
feat(images): Implement local patterns for images #740
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
Conversation
🦋 Changeset detectedLatest commit: 1316689 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
commit: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks - you are on fire 🔥
I think there might be a bug when there is no local pattern?
Also would be nice to add tests from https://github.com/vercel/next.js/blob/canary/test/unit/image-optimizer/match-local-pattern.test.ts in images.spec.ts as we have for remote patterns. |
Alright, so I added a fix commit. Sorry about the confusion! edit2: I guess we wrap Say Hello to Snipp! She is the cutest most active cat on this planet. Unfortunently she got sold to a happy customer in London! I hope she is doing fine there (my family owns a cat breeding business 🐈). |
Those methods are call from the image optimizer that passes in the next config and not the manifest Snipp is so lovely 🥰 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
A couple more nits and should be good to 🚀
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome, thanks!
fixes #731