Commit Graph

91 Commits

Author SHA1 Message Date
Felipe Moyano
dcdcab0ecc Added support for webp images in #442 (#458) 2016-08-23 16:13:13 +01:00
Gregory Shehet
b93e6c0bce add otf font format to loaders (#434)
* add off font format to loaders

* add otf format support
2016-08-18 19:47:39 +01:00
Max Stoiber
25a0b66fcf Disable dot rule of connect-history-api-fallback (#422)
Ref #387
2016-08-11 22:04:29 +01:00
Dan Abramov
8ae36c6ef5 Make missing module output slimmer
Thanks to @geowarin for the tip in https://github.com/facebookincubator/create-react-app/issues/401#issuecomment-238291901
2016-08-08 18:58:35 +01:00
Dan Abramov
505ddbe6d9 Make build output more chill 2016-08-08 18:49:51 +01:00
Dan Abramov
d21b7da85f Allow popular test path conventions (#400) 2016-08-08 14:23:12 +01:00
Rifat Nabi
e26b8d9f88 Creating a new app in the current directory (#368)
* Creating a new app in the current directory

* Fixed style mistakes
2016-08-07 21:05:58 -07:00
Dan Abramov
8084a326f0 Tweak Jest default settings (#378)
Disable timer mocking and enable verbose output.
2016-08-05 18:39:50 +01:00
Anton Kaminsky
c5cdbd5532 Small grammatical correction (#367)
* Small grammatical correction

* Fix another grammatical error for consistency
2016-08-05 14:33:57 +01:00
Dan Abramov
c1a984d98e Document configuration and build process (#362) 2016-08-04 20:56:52 +01:00
Dan Abramov
c13f7f40a2 Style tweaks 2016-08-04 19:21:07 +01:00
Dan Abramov
379cf5c96d Add proxy option to package.json (#282)
This allows users to avoid CORS in simple projects that are hosted on the same server as backend.
2016-08-04 16:49:59 +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
Eli Perelman
8f59cad16d Adding namespaced environment variables to DefinePlugin under REACT_APP_ (#342) 2016-08-03 23:54:55 +01:00
Dan Abramov
a7f9016b3a Force rebuild after npm install (#349)
Fixes #186
2016-08-03 23:50:49 +01:00
Dan Abramov
01eeb61394 Tweak npm start to make it clear it’s not optimized
Ref: https://twitter.com/sprjrx/status/760481328886272004
2016-08-02 15:45:47 +01:00
Dan Abramov
44b8313213 Make AppleScript call more bulletproof and silence its output
Fixes #322
2016-08-02 15:00:39 +01:00
Christoph Pojer
0e5abada75 Add Jest. (#250) 2016-08-02 00:22:33 +01:00
Dan Abramov
b29a943169 Revert "Fix port detection lag on OS X with Firewall enabled (#319)"
The problem has since been fixed upstream.

This reverts commit f7011e0472.
2016-08-01 18:10:57 +01:00
Dan Abramov
f7011e0472 Fix port detection lag on OS X with Firewall enabled (#319)
This fixes #302 by temporarily forking `detect-port`.
Hopefully this fix will be merged into the original project, and we can refer to it again.
2016-08-01 15:38:05 +01:00
Dave Ceddia
6a8f79ce3a Prevent Webpack from watching node_modules dir (#294) 2016-07-30 16:00:11 +01: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
Dan Abramov
2e20fd13c0 Use a more solid way to reset the console
This seems to work best, both on Windows, OS X, and Linux
2016-07-28 15:14:47 +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
2fe84ecded Respect process.env.PORT 2016-07-27 21:48:19 +01:00
Peter Indiola
2edf2180f2 Suggest another port when 3000 is busy (#101, #243)
Also fixes #194
2016-07-27 21:21:50 +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
6d7741e897 Add Promise and fetch polyfills (#235) 2016-07-27 13:04:13 +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
9a4e9678ad Add some newlines to the console output 2016-07-26 12:11:16 +01:00
Dan Abramov
dfecfea6ba Unroll indirection in paths (#191) 2016-07-25 22:45:27 +01:00
Kevin Lacker
511668c538 fix cdpath bug 2016-07-24 22:16:28 -07: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
Keyan Zhang
76935de8e2 Explicitly specify ESLint config path for editor plugins in package.json (#149)
* explicitly specify ESLint config path for editor plugins

* changed to use single quote
2016-07-24 22:19:58 +01:00
Alex
c9fd6979ac Fix issue #127 (#128) 2016-07-23 21:19:07 +01:00
Nathan Verni
e3954981ea Adds .gitignore file to default template (#79)
* Adds .gitignore file to default template

* Simplify renames

* Reference npm issue in comment

* Removing leading slash
2016-07-22 13:14:52 -07:00
eanplatter
ad2550f70e Recursively copy the template folder (#74)
* Recursively copy the template folder

* add fs-extra library
2016-07-22 06:42:46 -07:00
Dan Abramov
03c62f1c25 Eject Flow stubs
Related to #72, c2ba7a4a6c
2016-07-22 13:19:58 +01:00
Dan Abramov
024b4d4fcd Minor tweaks 2016-07-22 11:09:56 +01:00
Max
9317d106a3 Fix check for smoke test 2016-07-22 11:07:45 +01:00
Keyan Zhang
b1ce4598ec Dogfood our eslint config (#68)
* dogfood eslint config

* moved linting to e2e
2016-07-22 03:30:43 +01:00