Skip to content

Commit 8e0cdce

Browse files
authored
docs: add --node-externals build command to the config page (#439)
1 parent 2436651 commit 8e0cdce

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

docs/pages/config.mdx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
### Build Arguments
22

3-
There is a single build argument that you can pass to the `open-next build` command:
3+
There is two build arguments that you can pass to the `open-next build` command:
4+
45
- `--config-path` - This is the path to the configuration file that you want to use. By default, it will look for `open-next.config.ts` in the current working directory. This needs to be relative to the current working directory.
6+
- `--node-externals` - You can configure externals for the esbuild compilation of the `open-next.config.ts` file (i.e `--node-externals @aws-sdk/*,open-next/dist/queue/*`)
57

68
### Configuration File
79

@@ -13,4 +15,4 @@ If you want to take a look at some simple configuration examples, you can check
1315

1416
For more advanced use cases, you can check [how to implement custom overrides](/config/custom_overrides).
1517

16-
If you want to look at a full example, you can check [the full example](/config/full_example).
18+
If you want to look at a full example, you can check [the full example](/config/full_example).

0 commit comments

Comments
 (0)