From 9d67605ab631e504bf13e5e963b1a38e36be0346 Mon Sep 17 00:00:00 2001 From: Bond <bondz@users.noreply.github.com> Date: Thu, 18 Jan 2018 15:17:02 +0100 Subject: [PATCH] Use custom bit.ly links (#3836) * change link to advanced deployment * Use custom CRA link for deployment * use custom link for minification failure * update link for deployment * feedback --- packages/react-dev-utils/printBuildError.js | 2 +- packages/react-dev-utils/printHostingInstructions.js | 2 +- packages/react-scripts/scripts/start.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/react-dev-utils/printBuildError.js b/packages/react-dev-utils/printBuildError.js index 26e291356..0fe7aa9a5 100644 --- a/packages/react-dev-utils/printBuildError.js +++ b/packages/react-dev-utils/printBuildError.js @@ -37,7 +37,7 @@ module.exports = function printBuildError(err) { } catch (ignored) { console.log('Failed to minify the bundle.', err); } - console.log('Read more here: http://bit.ly/2tRViJ9'); + console.log('Read more here: http://bit.ly/CRA-build-minify'); } else { console.log((message || err) + '\n'); } diff --git a/packages/react-dev-utils/printHostingInstructions.js b/packages/react-dev-utils/printHostingInstructions.js index 4f761dfb0..7afb4af21 100644 --- a/packages/react-dev-utils/printHostingInstructions.js +++ b/packages/react-dev-utils/printHostingInstructions.js @@ -39,7 +39,7 @@ function printHostingInstructions( console.log(); console.log('Find out more about deployment here:'); console.log(); - console.log(` ${chalk.yellow('http://bit.ly/2vY88Kr')}`); + console.log(` ${chalk.yellow('http://bit.ly/CRA-deploy')}`); console.log(); } diff --git a/packages/react-scripts/scripts/start.js b/packages/react-scripts/scripts/start.js index 0e9e8b4e1..1546f4f45 100644 --- a/packages/react-scripts/scripts/start.js +++ b/packages/react-scripts/scripts/start.js @@ -69,7 +69,7 @@ if (process.env.HOST) { console.log( `If this was unintentional, check that you haven't mistakenly set it in your shell.` ); - console.log(`Learn more here: ${chalk.yellow('http://bit.ly/2mwWSwH')}`); + console.log(`Learn more here: ${chalk.yellow('http://bit.ly/CRA-advanced-config')}`); console.log(); } -- GitLab