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

adapter-vercel: Allow both edge and serverless functions in the same project #8435

Closed
lucadalli opened this issue Jan 10, 2023 · 1 comment
Closed

Comments

@lucadalli
Copy link

Describe the problem

adapter-vercel provides an edge option to deploy the app using edge functions instead of serverless functions.
It's not possible to override this option on a per-endpoint basis.

Describe the proposed solution

export const edge = false or export const edge = true in +server.js to override the global edge option.

Alternatives considered

No response

Importance

i cannot use SvelteKit without it

Additional Information

No response

@Rich-Harris
Copy link
Member

closing as dupe of #8383

@Rich-Harris Rich-Harris closed this as not planned Won't fix, can't repro, duplicate, stale Jan 10, 2023
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

No branches or pull requests

2 participants