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: .cjs and destructure of undefined #7

Merged
merged 4 commits into from
Feb 7, 2021
Merged

Conversation

jthegedus
Copy link
Owner

Summary

SvelteKit 1.0.0-next.31 outputs .cjs so update the require of handler.js

Fix bug where destructure in index.js.adpater() failed due to missing default

Fixes: #5, #6

@jthegedus jthegedus changed the title fix: destructure of undefined. Fixes #5 fix: destructure of undefined Feb 7, 2021
@jthegedus jthegedus changed the title fix: destructure of undefined fix: .cjs and destructure of undefined Feb 7, 2021
@jthegedus jthegedus merged commit 5be6798 into main Feb 7, 2021
@jthegedus jthegedus deleted the fix/cjs-destructure branch February 7, 2021 07:22
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.

Cannot destructure property 'hostingSite' of 'undefined' as it is undefined.
1 participant