From 408a01ce95ddd4e9acbbdc8cbdc42455cc82739e Mon Sep 17 00:00:00 2001 From: Shu Uesugi Date: Wed, 18 Mar 2020 01:21:12 -0700 Subject: [PATCH] Update CLI custom config documentation link (#11152) * Update CLI custom config documentation link * Update packages/next/cli/next-dev.ts Co-Authored-By: Joe Haddad Co-authored-by: Joe Haddad --- packages/next/cli/next-build.ts | 2 +- packages/next/cli/next-dev.ts | 2 +- packages/next/cli/next-start.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/next/cli/next-build.ts b/packages/next/cli/next-build.ts index a0389f3a2e89..06a601b72039 100755 --- a/packages/next/cli/next-build.ts +++ b/packages/next/cli/next-build.ts @@ -29,7 +29,7 @@ const nextBuild: cliCommand = argv => { represents where the compiled dist folder should go. If no directory is provided, the dist folder will be created in the current directory. - You can set a custom folder in config https://github.com/zeit/next.js#custom-configuration, otherwise it will be created inside '.next' + You can set a custom folder in config https://nextjs.org/docs/api-reference/next.config.js/setting-a-custom-build-directory, otherwise it will be created inside '.next' `, 0 ) diff --git a/packages/next/cli/next-dev.ts b/packages/next/cli/next-dev.ts index bbe54bdf6cbf..fbe1b778bb14 100755 --- a/packages/next/cli/next-dev.ts +++ b/packages/next/cli/next-dev.ts @@ -35,7 +35,7 @@ const nextDev: cliCommand = argv => { represents where the compiled folder should go. If no directory is provided, the folder will be created in the current directory. - You can set a custom folder in config https://github.com/zeit/next.js#custom-configuration. + You can set a custom folder in config https://nextjs.org/docs/api-reference/next.config.js/setting-a-custom-build-directory Options --port, -p A port number on which to start the application diff --git a/packages/next/cli/next-start.ts b/packages/next/cli/next-start.ts index ce48d4e2bb2e..0793122276e7 100755 --- a/packages/next/cli/next-start.ts +++ b/packages/next/cli/next-start.ts @@ -34,7 +34,7 @@ const nextStart: cliCommand = argv => { is the directory that contains the compiled dist folder created by running \`next build\`. If no directory is provided, the current directory will be assumed. - You can set a custom dist folder in config https://github.com/zeit/next.js#custom-configuration + You can set a custom dist folder in config https://nextjs.org/docs/api-reference/next.config.js/setting-a-custom-build-directory Options --port, -p A port number on which to start the application