Commit Graph

21 Commits

Author SHA1 Message Date
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
Konstantin Tarkus
dd6ec95cfe Rename compressor field to compress in UglifyJsPlugin settings (#264) 2016-07-28 20:42:58 +01:00
Dan Abramov
9dab8715d4 Add a temporary fix for generators (#262)
This enables us to ship them now, and find a way to resolve runtime path without webpack later.
See https://github.com/facebookincubator/create-react-app/issues/255
2016-07-28 19:52:14 +01:00
Dan Abramov
a11d6a398f Support .json extension
Some libraries rely on it, and they work fine with browserify.
Let’s just do the right thing here by default.
2016-07-27 19:32:52 +01:00
Dan Abramov
6d7741e897 Add Promise and fetch polyfills (#235) 2016-07-27 13:04:13 +01:00
Dan Abramov
62679927b9 Use shorter hashes in production builds 2016-07-26 22:35:41 +01:00
Dan Abramov
dfecfea6ba Unroll indirection in paths (#191) 2016-07-25 22:45:27 +01:00
breaddevil
d69ee278f7 update webpack css include path, allow files to be loaded from the project root node_modules folder. (#178) 2016-07-25 19:40:26 +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
Glenn Reyes
a35ac92807 Resolve imported CSS files from node_modules (#105)
* Resolve imported CSS files from anywhere
* Resolve imported CSS files from src and node_modules folder only

Closes #103
2016-07-23 09:02:44 +02:00
Dan Abramov
214fc8ee0b Disable second pass of autoprefixer 2016-07-22 11:23:34 +01:00
Dan Abramov
ee91202ca7 Move favicon outside src 2016-07-22 11:06:23 +01:00
Keyan Zhang
cbb4123b67 added favicon (#70) 2016-07-22 04:29:52 +01:00
Dan Abramov
e563b209c7 Fix local development paths (#52)
Local npm start and npm run build got broken by #33
2016-07-21 05:49:56 +01:00
Dan Abramov
9df1c2ff16 Make errors and warnings nicer (#50)
* Make errors and warnings nicer

* Fix license stripping to not be eager

* Minor tweaks
2016-07-21 05:04:57 +01:00
Dan Abramov
9652973e64 Optimize the production build (#49)
Inspired by react-boilerplate setup
2016-07-20 22:02:12 +01:00
Dan Abramov
2dc6d2c903 Resolve loaders relative to react-scripts (#36)
Fixes #31
2016-07-20 14:35:00 +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
3d77f5be20 Use a custom ESLint rule list (#27)
* Use a custom eslint rule list

* Sort rules

* Relax some rules
2016-07-20 00:12:49 +01:00
Dan Abramov
a73ebe8e2c Move configs to a separate folder (#23) 2016-07-19 14:00:41 +01:00