-
-
Notifications
You must be signed in to change notification settings - Fork 5
feat: standalone mode #18
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I though about how can we provide a seamless experience between development
and production
.
For example, can we provide some default function for storeFunction
and restoreFunction
?
Why can't we write when file not exist? and use written file when possible?
Can we provide some build tools for the standalone feature, so the developer do not required to start fastify
for just build the file in their CI/CD pipeline.
We can but I think it is out of scope of this module. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typings are missing
Co-authored-by: Uzlopak <aras.abbasi@googlemail.com>
I don't know how to do it due to the nature of this feature: Could you guide me? |
You can create a standalone.d.ts next to the standalone.js. |
Do you have any more hints?
|
I thought I am in my own repo |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Co-authored-by: Ivan Tymoshenko <bugagashenkj@gmail.com>
relates to fastify/fast-json-stringify#506