Isaac Mann de1401965a
docs(nxdev): rewrite getting started section (#5139)
* docs(nxdev): rewrite getting started section

* docs(nxdev): revisions

* docs(nxdev): update features section

* docs(nxdev): updates

Co-authored-by: Isaac Mann <isaacplmann+git@gmail.com>
2021-04-01 15:12:52 -04:00

45 lines
806 B
Markdown

# build
Build a Next.js app
Properties can be configured in workspace.json when defining the executor, or when invoking it.
Read more about how to use executors and the CLI here: https://nx.dev/react/getting-started/nx-cli#running-tasks.
## Properties
### fileReplacements
Type: `object[]`
Replace files with other files in the build.
#### replace
Type: `string`
undefined
#### with
Type: `string`
undefined
### nextConfig
Type: `string`
Path (relative to workspace root) to a function which takes phase, config, and builder options, and returns the resulting config. This is an advanced option and should not be used with a normal Next.js config file (i.e. next.config.js).
### outputPath
Type: `string`
The output path of the generated files.
### root
Type: `string`
The source root