Skip to content

Commit

Permalink
chore: remove uncertain apis
Browse files Browse the repository at this point in the history
  • Loading branch information
bluwy committed Jul 9, 2022
1 parent 0f9e7ee commit 502167a
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions docs/guide/api-javascript.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ The `InlineConfig` interface extends `UserConfig` with additional properties:

The `ResolvedConfig` interface has all the same properties of a `UserConfig`, except most properties are resolved and non-undefined. It also contains utilities like:

- `config.createResolver`: Create a function to resolve `id`s using core Vite plugins.
- `config.assetsInclude`: A function to check if an `id` is considered an asset.
- `config.logger`: Vite's internal logger object.

Expand Down Expand Up @@ -265,22 +264,6 @@ function normalizePath(id: string): string

Normalizes a path to interoperate between Vite plugins.

## `optimizeDeps`

**Type Signature:**

```ts
async function optimizeDeps(
config: ResolvedConfig,
force = config.optimizeDeps.force,
asCommand = false
): Promise<DepOptimizationMetadata>
```

**Related:** [Dependency Pre-Bundling](/guide/dep-pre-bundling)

Scan and optimize dependencies within a project. Used by Vite CLI when running `vite optimize`.

## `transformWithEsbuild`

**Type Signature:**
Expand Down

0 comments on commit 502167a

Please sign in to comment.