9 Commits

Author SHA1 Message Date
Vincent Taing
4a0f39ae80 Crash the app if it does not find index.html or index.js (#653) 2016-09-18 11:25:32 +03:00
Moti Zilberman
07105bfd87 Resolve app paths from realpath of CWD, fix #637 (#648)
* Resolve app paths from realpath of CWD, fix #637

* Use new resolveApp() for NODE_PATH too
2016-09-17 00:13:38 +03:00
Gael du Plessix
a94b2523bd Add src/setupTests.js to specify environment setup for Jest (#545) (#548) 2016-09-02 20:27:09 +01:00
Dan Abramov
c71337f63b Tweak how NODE_PATH is handled 2016-09-02 17:52:58 +01:00
Jimmy Miller
82066ac4d6 Added ability to specify multiple directories in node_path. 2016-09-02 17:21:53 +01:00
Jiansen HE
6c8713b7d1 tagging dev-only code (@remove-on-publish-begin/end) and pre-eject-only code (@remove-on-eject-begin/end) #257 (#257) 2016-09-02 16:34:34 +01:00
Andrey Popp
60178ac742 Load favicon through html-loader. (#428)
* Load favicon through html-loader.

Fixes #291.

* Add test for *.ico in e2e test suite

* Configure html-loader to process <link href="...">

* Address feedback on html-loader inclusion.

* Place favicon.ico at the root of the build dir

* Make comment style consistent between prod and dev webpack configs

* Fix html-loader config in dev mode
2016-08-12 22:37:54 +01:00
Dallon Feldner
d2baa3c4dd Symlink-friendly path resolution (#277)
* Symlink-friendly path resolution

I was having difficulties using a local copy of `react-scripts` and `npm link`ing it into a real world project. This change resolves paths relative to the current working directory (that is, most likely the directory of the app) rather than assuming a certain directory structure.

* Fix relative paths in post-eject case

because I'm an idiot

* Renamed resolveLib to resolveOwn
2016-07-29 17:09:40 +01:00
Dan Abramov
dfecfea6ba Unroll indirection in paths (#191) 2016-07-25 22:45:27 +01:00