Changing build config#

Vitro uses bundless to serve and build your vitro app, to change the esbuild config you can pass your custom options to config.bundlessConfig

js
1
// vitro.config.js
2
3
/** @type {import('@vitro/cli').VitroConfig} */
4
module.exports = {
5
// other options can be found at https://bundless.vercel.app/docs/config
6
bundlessConfig: {
7
build: {
8
minify: false,
9
},
10
},
11
globs: ['./**/*.vitro.jsx'],
12
}
Changing build config