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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SSR] Allow user to pass --ssr without <entry>. #1877

Closed
brillout opened this issue Feb 4, 2021 · 0 comments
Closed

[SSR] Allow user to pass --ssr without <entry>. #1877

brillout opened this issue Feb 4, 2021 · 0 comments

Comments

@brillout
Copy link
Contributor

brillout commented Feb 4, 2021

This is a follow up of #1876.

Your plugin can check if it's in an SSR build and then use the config hook to inject your SSR entry to build.rollupOptions.

Seems like it would work 馃憤 but the problem is that running $ vite build --ssr is forbidden; the user is forced to set an <entry>.

@github-actions github-actions bot locked and limited conversation to collaborators Jul 16, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant