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

Fixes dynamic import regression #3684

Merged
merged 2 commits into from
Aug 26, 2021
Merged

Fixes dynamic import regression #3684

merged 2 commits into from
Aug 26, 2021

Conversation

matthewp
Copy link
Contributor

Changes

This fixes the import scanning code to get the specifier from dynamic imports. This was previously fixed in c4a5555 but regressed in #3562

Testing

There was an existing test, but it didn't catch the regression because apparently this code path only happens within packages. So I updated the test to be within a package which did capture the bug.

Docs

N/A, bug fix.

@vercel
Copy link

vercel bot commented Aug 26, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/pikapkg/snowpack/49FaUmSKiNgmisspfVYN1Jvhu7yA
✅ Preview: https://snowpack-git-dyn-import-regression-pikapkg.vercel.app

@changeset-bot
Copy link

changeset-bot bot commented Aug 26, 2021

🦋 Changeset detected

Latest commit: 3291feb

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

This PR includes changesets to release 1 package
Name Type
snowpack 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

Copy link
Collaborator

@drwpow drwpow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@matthewp matthewp merged commit 57ee22f into main Aug 26, 2021
@matthewp matthewp deleted the dyn-import-regression branch August 26, 2021 16:25
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

Successfully merging this pull request may close these issues.

2 participants