-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Remove Emulator? #15672
Copy link
Copy link
Open
Milestone
Description
Is it still used? I think it used to be used by Cloudflare, but I don't see where it's used and it's not documented.
We currently publicly export:
/**
* A collection of functions that influence the environment during dev, build and prerendering
*/
export interface Emulator {
/**
* A function that is called with the current route `config` and `prerender` option
* and returns an `App.Platform` object
*/
platform?(details: { config: any; prerender: PrerenderOption }): MaybePromise<App.Platform>;
}
If we keep it, I don't understand what config is supposed to be and so that should be cleaned up. I only see it called with config: {} and the public type shows config: any
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels