Skip to content
This repository was archived by the owner on Apr 6, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docs/content/3.api/5.commands/analyze.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,5 @@ The `analyze` command builds Nuxt and analyzes the production bundle (experiment
Option | Default | Description
-------------------------|-----------------|------------------
`rootDir` | `.` | The directory of the target application.

This command sets `process.env.NODE_ENV` to `production`.
2 changes: 1 addition & 1 deletion docs/content/3.api/5.commands/build.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ Option | Default | Description
`rootDir` | `.` | The root directory of the application to bundle.
`prerender` | `false` | Pre-render every route of your application. (**note:** This is an experimental flag. The behavior might be changed.)

This command sets `process.env.NODE_ENV` to `production`. To override, define `NODE_ENV` in a `.env` file or as command-line argument.
This command sets `process.env.NODE_ENV` to `production`.
2 changes: 1 addition & 1 deletion docs/content/3.api/5.commands/dev.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ Option | Default | Description

The port and host can also be set via NUXT_PORT, PORT, NUXT_HOST or HOST environment variables.

This command sets `process.env.NODE_ENV` to `development`. To override, define `NODE_ENV` in a `.env` file or as command-line argument.
This command sets `process.env.NODE_ENV` to `development`.