mirror of
https://github.com/zhigang1992/create-react-app.git
synced 2026-04-23 12:48:00 +08:00
Recommend st instead of http-server
It has gzip built-in so the size numbers are closer to real world. Thanks @ForbesLindesay for the tip! Related to #228
This commit is contained in:
@@ -44,9 +44,9 @@ webpack(config).run(function(err, stats) {
|
||||
console.log('For example:');
|
||||
console.log();
|
||||
console.log(' cd build');
|
||||
console.log(' npm install -g http-server');
|
||||
console.log(' hs');
|
||||
console.log(' ' + openCommand + ' http://localhost:8080');
|
||||
console.log(' npm install -g st');
|
||||
console.log(' st -p 8000 -i index.html');
|
||||
console.log(' ' + openCommand + ' http://localhost:8000');
|
||||
console.log();
|
||||
}
|
||||
console.log('The bundle is optimized and ready to be deployed to production.');
|
||||
|
||||
Reference in New Issue
Block a user