warnDeprecatedShouldBeConvertedToPluginOptions() — vite Function Reference
Architecture documentation for the warnDeprecatedShouldBeConvertedToPluginOptions() function in oxc.ts from the vite codebase.
Entity Profile
Dependency Diagram
graph TD 64dfb5e8_b4f5_a2a7_7365_2a4bee1469be["warnDeprecatedShouldBeConvertedToPluginOptions()"] 16dc8750_0d4e_ed3e_3844_b80096ed2e0b["oxc.ts"] 64dfb5e8_b4f5_a2a7_7365_2a4bee1469be -->|defined in| 16dc8750_0d4e_ed3e_3844_b80096ed2e0b 5422f6bd_118c_9400_d948_98a879fa8635["convertEsbuildConfigToOxcConfig()"] 5422f6bd_118c_9400_d948_98a879fa8635 -->|calls| 64dfb5e8_b4f5_a2a7_7365_2a4bee1469be style 64dfb5e8_b4f5_a2a7_7365_2a4bee1469be fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/vite/src/node/plugins/oxc.ts lines 538–549
function warnDeprecatedShouldBeConvertedToPluginOptions(
logger: Logger,
name: string,
) {
logger.warn(
colors.yellow(
`\`esbuild.${name}\` option was specified. ` +
`But this option is deprecated and will be removed in future versions. ` +
'This option can be achieved by using a plugin with transform hook, please use that instead.',
),
)
}
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does warnDeprecatedShouldBeConvertedToPluginOptions() do?
warnDeprecatedShouldBeConvertedToPluginOptions() is a function in the vite codebase, defined in packages/vite/src/node/plugins/oxc.ts.
Where is warnDeprecatedShouldBeConvertedToPluginOptions() defined?
warnDeprecatedShouldBeConvertedToPluginOptions() is defined in packages/vite/src/node/plugins/oxc.ts at line 538.
What calls warnDeprecatedShouldBeConvertedToPluginOptions()?
warnDeprecatedShouldBeConvertedToPluginOptions() is called by 1 function(s): convertEsbuildConfigToOxcConfig.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free