From 34991c37c44cec28bb47279b9d63e8ae277090f9 Mon Sep 17 00:00:00 2001 From: mxmlnwbr <maximilian.weber@bluewin.ch> Date: Tue, 19 Sep 2023 14:23:48 +0200 Subject: [PATCH] test: standalone --- .../azure-static-web-apps-delightful-grass-05b344303.yml | 2 +- next.config.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/azure-static-web-apps-delightful-grass-05b344303.yml b/.github/workflows/azure-static-web-apps-delightful-grass-05b344303.yml index c71cc3f..abd4a75 100644 --- a/.github/workflows/azure-static-web-apps-delightful-grass-05b344303.yml +++ b/.github/workflows/azure-static-web-apps-delightful-grass-05b344303.yml @@ -30,7 +30,7 @@ jobs: app_location: '/' # App source code path api_location: '' # Api source code path - optional # output_location: '' - output_location: '.next/' # Built app content directory - optional + output_location: '.next/standalone' # Built app content directory - optional app_build_command: 'npm run build' api_build_command: 'rm -rf ./node_modules/@next/swc-* && rm -rf ./.next/cache' ###### End of Repository/Build Configurations ###### diff --git a/next.config.js b/next.config.js index 8e8bfcd..f0eab76 100644 --- a/next.config.js +++ b/next.config.js @@ -1,6 +1,6 @@ /** @type {import('next').NextConfig} */ const nextConfig = { - // output: 'standalone', + output: 'standalone', reactStrictMode: true, typescript: { ignoreBuildErrors: true,