From cb33b91d79e36221e8cd21660a919a0bbfcca3c3 Mon Sep 17 00:00:00 2001 From: Archie Sarre Wood <58074498+archiewood@users.noreply.github.com> Date: Wed, 27 Nov 2024 09:46:15 -0500 Subject: [PATCH] Clarify base path docs --- sites/docs/pages/deployment/base-paths/index.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sites/docs/pages/deployment/base-paths/index.md b/sites/docs/pages/deployment/base-paths/index.md index 941157ae4e..d4fa78f407 100644 --- a/sites/docs/pages/deployment/base-paths/index.md +++ b/sites/docs/pages/deployment/base-paths/index.md @@ -26,11 +26,11 @@ The base path must: Your `pages/index.md` file will be served from `https://my-domain.com/my-base-path`, and other pages will be served relative to this path. -## Configuring the Build Directory +## Configuring the Build Directory in `package.json` Evidence builds your app to the `build` directory, rather than to `build/my-base-path`. -To modify the build directory, set the `EVIDENCE_BUILD_DIR` environment variable: +To modify the build directory, set the `EVIDENCE_BUILD_DIR` environment variable in `package.json` ```json "build": "EVIDENCE_BUILD_DIR=./build/my-base-path evidence build" @@ -56,4 +56,4 @@ For example: ## Evidence Cloud -Deploying apps with custom base paths is supported in Evidence Cloud's [Enterprise plan](https://evidence.dev/cloud). \ No newline at end of file +Deploying apps with custom base paths is supported in Evidence Cloud's [Enterprise plan](https://evidence.dev/cloud).