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 SSR Runtime bug with default exports #3602

Merged
merged 1 commit into from Jul 21, 2021
Merged

Conversation

natemoo-re
Copy link
Contributor

Changes

There was a small typo in the SSR Runtime transform step that would cause problems in very rare instances. Previously, we could generate a mismatched ) due to the way we were overwriting ExportDefaultDeclaration. This fixes that!

Testing

Looks like SSR Runtime is largely untested, so I'm not sure how to test this tbh...

Docs

Bug fix only

@changeset-bot
Copy link

changeset-bot bot commented Jul 21, 2021

🦋 Changeset detected

Latest commit: 2da172d

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

@vercel
Copy link

vercel bot commented Jul 21, 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/CNqiSa2jsRZmeyaPU6oT3i2vtPwC
✅ Preview: https://snowpack-git-fix-ssr-default-export-pikapkg.vercel.app

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.

WFM

@natemoo-re natemoo-re merged commit 91da2b6 into main Jul 21, 2021
@natemoo-re natemoo-re deleted the fix/ssr-default-export branch July 21, 2021 19:26
@FredKSchott
Copy link
Owner

done

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.

None yet

3 participants