From d39fd2790318e385b3e2b427893faa62c720b53e Mon Sep 17 00:00:00 2001 From: Matthias Mohr Date: Thu, 9 Jan 2025 23:56:41 +0100 Subject: [PATCH] Add a note about cli parameters on Windows #529 --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 686d6dad..5e92529f 100644 --- a/README.md +++ b/README.md @@ -78,6 +78,9 @@ npm run build -- --catalogUrl="https://earth-search.aws.element84.com/v1/" This will only work on the root path of your domain though. If you'd like to publish in a sub-folder, you can use the [`pathPrefix`](docs/options.md#pathprefix) option. +> [!NOTE] +> If you are using a recent version of node/npm on Windows, you may need to use `npm run build -- -- ...` instead of `npm run build -- ...`, see for details. + After building, `dist/` will contain all assets necessary host the browser. These can be manually copied to your web host of choice. **Important:** If `historyMode` is set to `history` (which is the default value), you'll need to add