-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
23 additions
and
374 deletions.
There are no files selected for viewing
169 changes: 0 additions & 169 deletions
169
packages/vite-node-miniflare/src/client/worker-entry.ts
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
// export { vitePluginViteNodeMiniflare } from "./server/plugin"; | ||
export { vitePluginWorkerd } from "./v6/plugin"; | ||
export * from "./plugin"; |
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,21 @@ | ||
export const SERVER_RPC_PATH = "/__server_rpc__"; | ||
export const CLIENT_RPC_PATH = "/__client_rpc__"; | ||
export const RUNNER_INIT_PATH = "/__viteInit"; | ||
export const RUNNER_EVAL_PATH = "/__viteEval"; | ||
export const ANY_URL = "https://any.local"; | ||
|
||
export type RunnerEnv = { | ||
__viteUnsafeEval: { | ||
eval: (code: string, filename?: string) => any; | ||
}; | ||
__viteFetchModule: { | ||
fetch: (request: Request) => Promise<Response>; | ||
}; | ||
__viteRunner: DurableObject; | ||
__viteOptions: { | ||
root: string; | ||
hmr: boolean; | ||
}; | ||
}; | ||
|
||
export type FetchMetadata = { | ||
entry: string; | ||
}; |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
Oops, something went wrong.