From eef08566aa27b4b3198de10d21085606ce56d04c Mon Sep 17 00:00:00 2001 From: linxiaoxin Date: Sat, 25 May 2024 12:52:31 +0800 Subject: [PATCH] Update build output --- .github/workflows/build.yml | 2 +- .gitignore | 1 + next.config.js | 3 ++- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0d9cb27..87d405a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -55,5 +55,5 @@ jobs: uses: actions/upload-artifact@v4 with: name: quemistry-web-client - path: build/ + path: dist/ overwrite: true diff --git a/.gitignore b/.gitignore index 8f322f0..7c44381 100644 --- a/.gitignore +++ b/.gitignore @@ -33,3 +33,4 @@ yarn-error.log* # typescript *.tsbuildinfo next-env.d.ts +dist/ \ No newline at end of file diff --git a/next.config.js b/next.config.js index 32c7653..0e79f50 100644 --- a/next.config.js +++ b/next.config.js @@ -1,6 +1,7 @@ /** @type {import('next').NextConfig} */ const nextConfig = { - output: 'build', + output: 'export', + distDir: 'dist' } module.exports = nextConfig