diff --git a/packages/astro/src/core/build/scan-based-build.ts b/packages/astro/src/core/build/scan-based-build.ts index 0cee9dd39..8374f0e0d 100644 --- a/packages/astro/src/core/build/scan-based-build.ts +++ b/packages/astro/src/core/build/scan-based-build.ts @@ -33,9 +33,8 @@ export async function build(opts: ScanBasedBuildOptions) { mode: 'production', build: { emptyOutDir: true, - minify: false, // 'esbuild', // significantly faster than "terser" but may produce slightly-bigger bundles + minify: 'esbuild', // significantly faster than "terser" but may produce slightly-bigger bundles outDir: fileURLToPath(astroConfig.dist), - ssr: true, rollupOptions: { // The `input` will be populated in the build rollup plugin. input: [],