From 4cc4a41d3d2b31454e24224beae316d3e5ce1ef0 Mon Sep 17 00:00:00 2001 From: Dan Abramov <dan.abramov@gmail.com> Date: Fri, 29 Jul 2016 20:28:12 +0100 Subject: [PATCH] Make GH Pages support more discoverable --- scripts/build.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/build.js b/scripts/build.js index eadfd93a10b..e57e040bd6e 100644 --- a/scripts/build.js +++ b/scripts/build.js @@ -88,6 +88,9 @@ webpack(config).run(function(err, stats) { console.log(' pushstate-server build'); console.log(' ' + openCommand + ' http://localhost:9000'); console.log(); + console.log(chalk.dim('The project was built assuming it is hosted at the root.')); + console.log(chalk.dim('Set the "homepage" field in package.json to override this.')); + console.log(chalk.dim('For example, "homepage": "http://user.github.io/project".')); } console.log(); });