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: avoid creating conflicting import statements #11047

Merged
merged 1 commit into from
Nov 16, 2023
Merged

Conversation

benmccann
Copy link
Member

The fix was changing const name = ASSET_PREFIX + images.size; to const name = ASSET_PREFIX + imports.size;. You can see the test output is better now

I also noticed that details.name was unused, so simplified things by removing that field.

@benmccann benmccann added bug Something isn't working pkg:enhanced-img labels Nov 16, 2023
Copy link

changeset-bot bot commented Nov 16, 2023

🦋 Changeset detected

Latest commit: 6d1720e

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@sveltejs/enhanced-img Patch

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

@benmccann benmccann merged commit dd9fec2 into master Nov 16, 2023
12 checks passed
@benmccann benmccann deleted the asset-numbering branch November 16, 2023 04:25
@github-actions github-actions bot mentioned this pull request Nov 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working pkg:enhanced-img
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants