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

feat: stabilize server.resolvedUrls #9866

Merged
merged 2 commits into from Aug 26, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 5 additions & 0 deletions docs/guide/api-javascript.md
Expand Up @@ -91,6 +91,11 @@ interface ViteDevServer {
* and hmr state.
*/
moduleGraph: ModuleGraph
/**
* The resolved urls Vite prints on the CLI. null in middleware mode or
* before `server.listen` is called.
*/
resolvedUrls: ResolvedServerUrls | null
/**
* Programmatically resolve, load and transform a URL and get the result
* without going through the http request pipeline.
Expand Down
2 changes: 0 additions & 2 deletions packages/vite/src/node/preview.ts
Expand Up @@ -54,8 +54,6 @@ export interface PreviewServer {
httpServer: http.Server
/**
* The resolved urls Vite prints on the CLI
*
* @experimental
*/
resolvedUrls: ResolvedServerUrls
/**
Expand Down
2 changes: 0 additions & 2 deletions packages/vite/src/node/server/index.ts
Expand Up @@ -194,8 +194,6 @@ export interface ViteDevServer {
/**
* The resolved urls Vite prints on the CLI. null in middleware mode or
* before `server.listen` is called.
*
* @experimental
*/
resolvedUrls: ResolvedServerUrls | null
/**
Expand Down