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 976103e commit 501572aCopy full SHA for 501572a
packages/vite/src/node/build.ts
@@ -532,8 +532,7 @@ function resolveConfigToBuild(
532
async function buildEnvironment(
533
environment: BuildEnvironment,
534
): Promise<RollupOutput | RollupOutput[] | RollupWatcher> {
535
- const { root, packageCache } = environment.config
536
- const options = environment.config.build
+ const { root, packageCache, build: options } = environment.config
537
const libOptions = options.lib
538
const { logger } = environment
539
const ssr = environment.config.consumer === 'server'
0 commit comments