From a2dad3e9960d0c7a32f0339603303518d5884914 Mon Sep 17 00:00:00 2001 From: pure-js <3690368+pure-js@users.noreply.github.com> Date: Mon, 18 Sep 2023 18:38:44 +0400 Subject: [PATCH] ci: change dist dir --- lighthouserc.yml | 2 +- next.config.mjs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lighthouserc.yml b/lighthouserc.yml index 483d688..889b32e 100644 --- a/lighthouserc.yml +++ b/lighthouserc.yml @@ -3,7 +3,7 @@ ci: numberOfRuns: 3 startServerCommand: bun run preview url: ['http://localhost'] - staticDistDir: './dist' + staticDistDir: './build' isSinglePageApplication: true assert: assertions: diff --git a/next.config.mjs b/next.config.mjs index 9839998..ff1fa88 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -4,6 +4,7 @@ import { createVanillaExtractPlugin } from '@vanilla-extract/next-plugin'; const withVanillaExtract = createVanillaExtractPlugin(); const nextConfig = { + distDir: 'build', experimental: { typedRoutes: true, },