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

feat(runtime): allow export as for handler function #868

Merged
merged 1 commit into from
May 15, 2023

Conversation

QuiiBz
Copy link
Member

@QuiiBz QuiiBz commented May 15, 2023

About

Allow using export as for the handler function, which is often generated by bundlers.

Instead of relying on setting globalThis.handler, the handler function is grabbed from the module's exports and passed as an argument to the masterHandler

@changeset-bot
Copy link

changeset-bot bot commented May 15, 2023

🦋 Changeset detected

Latest commit: 85559b2

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

This PR includes changesets to release 4 packages
Name Type
@lagon/cli Patch
@lagon/runtime Patch
@lagon/serverless Patch
@lagon/js-runtime 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 May 15, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
dashboard ❌ Failed (Inspect) May 15, 2023 7:11am
docs ✅ Ready (Inspect) Visit Preview May 15, 2023 7:11am
storybook ✅ Ready (Inspect) Visit Preview May 15, 2023 7:11am
www ✅ Ready (Inspect) Visit Preview May 15, 2023 7:11am

@QuiiBz QuiiBz merged commit 33fa56c into main May 15, 2023
@QuiiBz QuiiBz deleted the feat/runtime-export-as branch May 15, 2023 07:33
@QuiiBz QuiiBz mentioned this pull request May 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant