Skip to content

Commit

Permalink
chore: mark experimental
Browse files Browse the repository at this point in the history
  • Loading branch information
bluwy committed Jul 11, 2022
1 parent a087e53 commit bed92b5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
5 changes: 0 additions & 5 deletions docs/guide/api-javascript.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,6 @@ 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
4 changes: 3 additions & 1 deletion packages/vite/src/node/preview.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,9 @@ export interface PreviewServer {
*/
httpServer: http.Server
/**
* The resolved urls Vite prints on the CLI
* The resolved urls Vite prints on the
*
* @experimental
*/
resolvedUrls: ResolvedServerUrls
/**
Expand Down
2 changes: 2 additions & 0 deletions packages/vite/src/node/server/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,8 @@ 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

0 comments on commit bed92b5

Please sign in to comment.