mirror of
https://github.com/vitejs/vite.git
synced 2024-11-21 22:59:10 +00:00
docs: improve optimizeDeps.esbuildOptions type (#14063)
This commit is contained in:
parent
ea091853e0
commit
4caeb8491a
@ -47,7 +47,18 @@ export default defineConfig({
|
||||
|
||||
## optimizeDeps.esbuildOptions
|
||||
|
||||
- **Type:** [`EsbuildBuildOptions`](https://esbuild.github.io/api/#simple-options)
|
||||
- **Type:** [`Omit`](https://www.typescriptlang.org/docs/handbook/utility-types.html#omittype-keys)`<`[`EsbuildBuildOptions`](https://esbuild.github.io/api/#simple-options)`,
|
||||
| 'bundle'
|
||||
| 'entryPoints'
|
||||
| 'external'
|
||||
| 'write'
|
||||
| 'watch'
|
||||
| 'outdir'
|
||||
| 'outfile'
|
||||
| 'outbase'
|
||||
| 'outExtension'
|
||||
| 'metafile'>`
|
||||
|
||||
|
||||
Options to pass to esbuild during the dep scanning and optimization.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user