Commit Graph

28 Commits

Author SHA1 Message Date
Dan Abramov
505ddbe6d9 Make build output more chill 2016-08-08 18:49:51 +01:00
Dan Abramov
c1a984d98e Document configuration and build process (#362) 2016-08-04 20:56:52 +01:00
Dan Abramov
cd8bae0d12 Further tweak the build output 2016-08-04 14:21:34 +01:00
Dan Abramov
670e382ccf Minor tweaks to console output 2016-08-04 13:30:03 +01:00
Dan Abramov
f93e02e62f Minor style tweaks 2016-08-04 12:39:48 +01:00
Elijah Manor
6b6d7ee303 Adjust colors and account for unicode when padding 2016-08-04 00:57:33 -05:00
Elijah Manor
cfc4325e4c Display Build Size Difference 2016-08-04 00:57:33 -05:00
Dan Abramov
65c2ff321b Make GH Pages support more discoverable (#286) 2016-07-29 20:40:18 +01:00
Dan Abramov
f05cba5e29 Use /static paths for assets (#278)
* Use /static paths for assets

* Fix e2e test
2016-07-29 17:09:48 +01:00
Dan Abramov
2749026af3 Make filesize stats prettier (#265) 2016-07-28 20:43:49 +01:00
Lawrence Wu
ca7d227ae0 Display JS and CSS bundle sizes after build (#229)
* Display JS and CSS bundle sizes after build

* Print gzipped filesize, address nits

* Use filesize for human readable output.
2016-07-28 00:58:15 +01:00
Dan Abramov
1740fa99fc Fixup GH Pages deploy instructions
These work regardless of whether you already have a gh-pages branch.
2016-07-27 19:22:48 +01:00
Dan Abramov
9645cbd117 Switch over to recommending pushstate-server
It has a sane default port, gzip, and doesn’t aggressively cache index.html.
Perfect.
2016-07-27 16:52:58 +01:00
Dan Abramov
3a1ed7a9d0 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
2016-07-27 12:04:17 +01:00
Dan Abramov
9b6e87c6cb Remove build directory without ending up in trash
This is frustrating with shells like `fish` that track directory moves
2016-07-26 22:31:11 +01:00
Dan Abramov
dfecfea6ba Unroll indirection in paths (#191) 2016-07-25 22:45:27 +01:00
Dan Abramov
458d3f9eb1 Provide instructions on publishing GH Pages (#162)
* Provide instructions on GH Pages deploy

* Add docs for GH Pages deployment

* Prevent incorrect paths in file-loader

* Minor message tweaks

* Update README.md

* Fix relative paths
2016-07-25 00:55:59 +01:00
Donald Hruska
ef4f8e9058 Don't assume the project is hosted at the root (#94)
* Don't assume the project is hosted at the root
* Require package.json in webpack.config.prod.js and use homepage if set; otherwise use '/'

* Fix package.json path and add sample package.json for tests

* Update publicPath to use relative path portion of URL defined in homepage

* Update successful bundle generation message

* Show bundle generation success message based on presence of homepage in package.json
2016-07-25 00:07:33 +01:00
Dan Abramov
955ea330df Make messages windows-friendly 2016-07-21 11:20:42 +01:00
Dan Abramov
63610622a2 Fall back to displaying full error if message is missing 2016-07-20 13:38:29 +01:00
Dan Abramov
bfb6ed1500 Bail for production builds
This ensures errors are not tolerated.
Otherwise, Webpack just builds an empty bundle.
2016-07-20 13:36:30 +01:00
Dan Abramov
a73ebe8e2c Move configs to a separate folder (#23) 2016-07-19 14:00:41 +01:00
Dan Abramov
9a98851622 Use rimraf as it handles edge cases 2016-07-18 15:17:57 -07:00
Dan Abramov
074dd63323 Wordsmith 2016-07-18 15:17:57 -07:00
Dan Abramov
2987cc69b9 Get graduate working 2016-07-18 15:17:56 -07:00
Christopher Chedeau
614b2dbec4 random fixes + license 2016-07-18 15:17:56 -07:00
Christopher Chedeau
6987b80937 Make the end to end install flow work :)) 2016-07-18 15:17:55 -07:00
Christopher Chedeau
714971cccc Move all the scripts to the scripts/ folder and use them from the scripts section of package.json 2016-07-18 15:17:55 -07:00