isFileServingAllowed: Check if the url is allowed to be served, via the `server.fs` config. Use the `isFileLoadingAllowed` function instead.
optimizeDeps: Scan and optimize dependencies within a project. Used by Vite CLI when running `vite optimize`. the optimization process runs automatically and does not need to be called
Rollup.RollupOutput: use RolldownOutput instead
Rollup.RollupBuild: use RolldownBuild instead
Rollup.RollupOptions: use RolldownOptions instead
Rollup.RollupWatcherEvent: use RollupWatcherEvent instead
Rollup.RollupWatcher: use RolldownWatcher instead
GeneralImportGlobOptions.as: Import type for the import url. Use `query` instead, e.g. `as: 'url'` -> `query: '?url', import: 'default'`
ImportGlobOptions.as: Import type for the import url. Use `query` instead, e.g. `as: 'url'` -> `query: '?url', import: 'default'`
Alias.customResolver: Instructs the plugin to use an alternative resolving algorithm, rather than the Rollup's resolver. Use a custom plugin with resolveId hook and `enforce: 'pre'` instead
BuildOptions.polyfillModulePreload: whether to inject module preload polyfill. Note: does not apply to library mode. use `modulePreload.polyfill` instead
BuildOptions.rollupOptions: Alias to `rolldownOptions` Use `rolldownOptions` instead.
BuildOptions.commonjsOptions: Options to pass on to `@rollup/plugin-commonjs` This option is no-op and will be removed in future versions.
DepOptimizationConfig.esbuildOptions: Options to pass to esbuild during the dep scanning and optimization Certain options are omitted since changing them would not be compatible with Vite's dep optimization. - `external` is also omitted, use Vite's `optimizeDeps.exclude` option - `plugins` are merged with Vite's dep plugin https://esbuild.github.io/api Use `rolldownOptions` instead.
DepOptimizationConfig.disabled: Deps optimization during build was removed in Vite 5.1. This option is now redundant and will be removed in a future version. Switch to using `optimizeDeps.noDiscovery` and an empty or undefined `optimizeDeps.include`. true or 'dev' disables the optimizer, false or 'build' leaves it enabled.
HmrOptions.protocol: Use `server.ws.protocol` instead.
HmrOptions.host: Use `server.ws.host` instead.
HmrOptions.port: Use `server.ws.port` instead.
HmrOptions.clientPort: Use `server.ws.clientPort` instead.
HmrOptions.path: Use `server.ws.path` instead.
HmrOptions.timeout: Use `server.ws.timeout` instead.
HmrOptions.server: Use `server.ws.server` instead.
InlineConfig.esbuild: Transform options to pass to esbuild. Or set to `false` to disable esbuild. Use `oxc` option instead.
Plugin.resolveDynamicImport: Defines a custom resolver for dynamic imports. This hook exists only for Rollup compatibility. Please use {@linkcode resolveId} instead.
Plugin.shouldTransformCachedModule: This hook is not supported by Rolldown yet. But the type is declared for compatibility. This hook is **not** deprecated. It is marked as deprecated just to make it clear that this hook is currently a no-op.
ResolvedBuildOptions.rollupOptions: Alias to `rolldownOptions` Use `rolldownOptions` instead.
ResolvedBuildOptions.commonjsOptions: Options to pass on to `@rollup/plugin-commonjs` This option is no-op and will be removed in future versions.
ResolvedConfig.esbuild: Transform options to pass to esbuild. Or set to `false` to disable esbuild. Use `oxc` option instead. Use `oxc` option instead.
ResolvedConfig.createResolver: Create an internal resolver to be used in special scenarios, e.g. optimizer & handling css `@imports`. This API is deprecated. It only works for the client and ssr environments. The `aliasOnly` option is also not being used anymore. Plugins should move to `createIdResolver(environment.config)` instead. Use `createIdResolver` from `vite` instead.
ResolvedWorkerOptions.rollupOptions: Use `rolldownOptions` instead.
RollupDynamicImportVarsOptions.warnOnError: This option is no-op and will be removed in future versions.
TransformOptions.ssr: inferred from environment
CommonServerOptions.https.clientCertEngine: Name of an OpenSSL engine which can provide the client certificate.
CommonServerOptions.https.privateKeyEngine: Name of an OpenSSL engine to get private key from. Should be used together with privateKeyIdentifier.
CommonServerOptions.https.privateKeyIdentifier: Identifier of a private key managed by an OpenSSL engine. Should be used together with privateKeyEngine. Should not be set together with key, because both options define a private key in different ways.
Connect.IncomingMessage.aborted: The `message.aborted` property will be `true` if the request has been aborted. Since v17.0.0,v16.12.0 - Check `message.destroyed` from <a href="stream.html#class-streamreadable" class="type">stream.Readable</a>.
Connect.IncomingMessage.connection: Alias for `message.socket`. Since v16.0.0 - Use `socket`.
InlineConfig.worker.rollupOptions: Alias to `rolldownOptions`. Use `rolldownOptions` instead.
Terser.ParseOptions.ecma: legacy option. Currently, all supported EcmaScript is valid to parse.
Terser.FormatOptions.beautify: Not implemented anymore
CommonServerOptions.https.ServerResponse.finished: Use `writableEnded` instead.
CommonServerOptions.https.ServerResponse.connection: Alias of `outgoingMessage.socket`. Since v15.12.0,v14.17.1 - Use `socket` instead.
CommonServerOptions.https.ticketKeys.slice: Returns a new `Buffer` that references the same memory as the original, but offset and cropped by the `start` and `end` indices. This method is not compatible with the `Uint8Array.prototype.slice()`, which is a superclass of `Buffer`. To copy the slice, use`Uint8Array.prototype.slice()`. ```js import { Buffer } from 'node:buffer'; const buf = Buffer.from('buffer'); const copiedBuf = Uint8Array.prototype.slice.call(buf); copiedBuf[0]++; console.log(copiedBuf.toString()); // Prints: cuffer console.log(buf.toString()); // Prints: buffer // With buf.slice(), the original buffer is modified. const
CommonServerOptions.https.ca.slice: Returns a section of a string. Returns a new `Buffer` that references the same memory as the original, but offset and cropped by the `start` and `end` indices. This method is not compatible with the `Uint8Array.prototype.slice()`, which is a superclass of `Buffer`. To copy the slice, use`Uint8Array.prototype.slice()`. ```js import { Buffer } from 'node:buffer'; const buf = Buffer.from('buffer'); const copiedBuf = Uint8Array.prototype.slice.call(buf); copiedBuf[0]++; console.log(copiedBuf.toString()); // Prints: cuffer console.log(buf.toString()); // Prints: buffer // With buf.slice(), the orig
CommonServerOptions.https.dhparam.slice: Returns a section of a string. Returns a new `Buffer` that references the same memory as the original, but offset and cropped by the `start` and `end` indices. This method is not compatible with the `Uint8Array.prototype.slice()`, which is a superclass of `Buffer`. To copy the slice, use`Uint8Array.prototype.slice()`. ```js import { Buffer } from 'node:buffer'; const buf = Buffer.from('buffer'); const copiedBuf = Uint8Array.prototype.slice.call(buf); copiedBuf[0]++; console.log(copiedBuf.toString()); // Prints: cuffer console.log(buf.toString()); // Prints: buffer // With buf.slice(), the orig
CommonServerOptions.https.key.slice: Returns a section of a string. Returns a new `Buffer` that references the same memory as the original, but offset and cropped by the `start` and `end` indices. This method is not compatible with the `Uint8Array.prototype.slice()`, which is a superclass of `Buffer`. To copy the slice, use`Uint8Array.prototype.slice()`. ```js import { Buffer } from 'node:buffer'; const buf = Buffer.from('buffer'); const copiedBuf = Uint8Array.prototype.slice.call(buf); copiedBuf[0]++; console.log(copiedBuf.toString()); // Prints: cuffer console.log(buf.toString()); // Prints: buffer // With buf.slice(), the orig
CommonServerOptions.https.pfx.slice: Returns a section of a string. Returns a new `Buffer` that references the same memory as the original, but offset and cropped by the `start` and `end` indices. This method is not compatible with the `Uint8Array.prototype.slice()`, which is a superclass of `Buffer`. To copy the slice, use`Uint8Array.prototype.slice()`. ```js import { Buffer } from 'node:buffer'; const buf = Buffer.from('buffer'); const copiedBuf = Uint8Array.prototype.slice.call(buf); copiedBuf[0]++; console.log(copiedBuf.toString()); // Prints: cuffer console.log(buf.toString()); // Prints: buffer // With buf.slice(), the orig