Skip to content

Commit

Permalink
docs(api-javascript): update transformIndexHtml types (#603)
Browse files Browse the repository at this point in the history
* docs: feedback about experimental features

* docs: update the proxy options link

* docs: use extends instead of spreading default theme

* docs(static-deploy): bump version of actions/checkout and actions/upload-pages-artifact

* docs: docs(api-javascript): update transformIndexHtml types

* Update shared-options.md

* Update dep-optimization-options.md

* Update build.md

* Update shared-options.md

Repeated items have been deleted.
  • Loading branch information
Franqsanz authored Feb 8, 2024
1 parent a8d7490 commit 5e89cc4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docs/guide/api-javascript.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,11 @@ interface ViteDevServer {
/**
* Aplica las transformaciones HTML integradas en Vite y las transformaciones HTML de cualquier plugin.
*/
transformIndexHtml(url: string, html: string): Promise<string>
transformIndexHtml(
url: string,
html: string,
originalUrl?: string,
): Promise<string>
/**
* Carga una URL dada como un módulo instanciado para SSR.
*/
Expand Down

0 comments on commit 5e89cc4

Please sign in to comment.