Vitro uses bundless to serve and build your vitro app, to change the esbuild config you can pass your custom options to config.bundlessConfig
1// vitro.config.js23/** @type {import('@vitro/cli').VitroConfig} */4module.exports = {5// other options can be found at https://bundless.vercel.app/docs/config6bundlessConfig: {7build: {8minify: false,9},10},11globs: ['./**/*.vitro.jsx'],12}