-
-
Notifications
You must be signed in to change notification settings - Fork 6.4k
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: expose preview
method
#5014
Conversation
I'll bring this feat for discussion this Friday. I also think that is a good idea if we can collaborate on a single implementation of preview. |
I would like to have every exposed API to be documented 🤔 |
I think in this case it is a good idea to wait until we discuss if this feature gets consensus to be merged. But yes, we should document it before merging. |
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.
We discussed this with the team today, let's merge this one. I think it is a good idea to leave it as @experimental for a bit. We can document it in the docs once we want to make it more public.
Description
Expose the
preview
methodAdditional context
SvelteKit has its own preview functionality. It'd save us hundreds of lines of code if we could use Vite's instead of creating our own
It would probably be good to merge #5016 first since it changes the return type of
preview
What is the purpose of this pull request?
Before submitting the PR, please make sure you do the following
fixes #123
).