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: accept custom production server build #397

Merged
merged 3 commits into from
Aug 13, 2024

Conversation

alanko0511
Copy link
Contributor

@alanko0511 alanko0511 commented Aug 11, 2024

This PR allows you to pass a custom production server build to the request handler. In some situations, you might want to load the server build using a different approach. (for example, use require instead of import or pass the object from the memory)

We need this because our runtime setup prevents us from using the default dynamic import approach. We would like to have an option that allows us to manually pass the server build without basically building the same remix-fastify plugin with the helper functions provided.

This parameter is better suited to advanced users, while the default dynamic import approach should be sufficient for normal users.

Copy link

changeset-bot bot commented Aug 11, 2024

🦋 Changeset detected

Latest commit: 82fbe72

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

This PR includes changesets to release 1 package
Name Type
@mcansh/remix-fastify 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

mcansh and others added 2 commits August 12, 2024 20:19
@mcansh mcansh merged commit bd2a09c into mcansh:main Aug 13, 2024
5 checks passed
@mcansh
Copy link
Owner

mcansh commented Aug 13, 2024

hey @alanko0511 thanks for the PRs! I'll get a release out once i have a sec to rebase #357

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