Do not use ssr mode

This commit is contained in:
Matthew Phillips 2021-12-09 09:47:45 -08:00
parent 98a868e8cb
commit 3be5ddd05a

View file

@ -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: [],