We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 87dae32 commit 200646bCopy full SHA for 200646b
packages/vite/src/node/config.ts
@@ -2542,6 +2542,18 @@ async function runConfigHook(
2542
`\`rollupOptions\` specified by that plugin will be ignored.`,
2543
)
2544
}
2545
+ if (res.esbuild) {
2546
+ context.warn(
2547
+ `\`esbuild\` option was specified by ${JSON.stringify(p.name)} plugin. ` +
2548
+ `This option is deprecated, please use \`oxc\` instead.`,
2549
+ )
2550
+ }
2551
+ if (res.optimizeDeps?.esbuildOptions) {
2552
2553
+ `\`optimizeDeps.esbuildOptions\` option was specified by ${JSON.stringify(p.name)} plugin. ` +
2554
+ `This option is deprecated, please use \`optimizeDeps.rolldownOptions\` instead.`,
2555
2556
2557
conf = mergeConfig(conf, res)
2558
2559
0 commit comments