Commit Graph

40 Commits

Author SHA1 Message Date
Dan Harper
a5bf07476b add audio support (#665) 2016-09-17 22:20:49 +03:00
Marek Suscak
2c6f1da4d0 Add support for *.jpeg file extension. (#624) 2016-09-11 15:48:58 +03:00
Jeremy Gayed
49e4f64620 Adds JSX extension support (#563)
* Adds JSX extension support

* PR changes

* Add testRegex

* Add note about not recommending JSX, link to issue
2016-09-03 15:33:54 +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
Jimmy Miller
6e94bd8426 Removed NODE_PATH from env.js
env.js is only for variables injected into the app.
2016-09-02 17:10:29 +01:00
Jimmy Miller
afe25dfe5c Made webpack respect NODE_PATH environment variable
Fixes: #253
2016-09-02 17:10:29 +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
Dan Abramov
5645aa921d Resolve babel-runtime relative to the config (#535)
This makes generators work with Jest.

Fixes #255.
Replaces #262.
2016-09-01 18:01:11 +01:00
Ville Immonen
c27570ede4 Allow importing static file outside src and node_modules folders (#504)
Remove the `include` setting from webpack loaders for CSS, JSON and other static assets.
This way it's possible to import files from a separate config folder, a parent directory etc.
2016-08-28 18:49:25 +01:00
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
Arunoda Susiripala
7c912b5ffe Add a hash to media files even in the devmode. (#446)
This will work correctly when there are duplicate filenames in different paths.
Fixes: #445
2016-08-15 19:53:19 +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
Luigi Maselli
623e1bd189 Add React Native Web support (#407) 2016-08-09 11:42:37 +01:00
Dan Abramov
c1a984d98e Document configuration and build process (#362) 2016-08-04 20:56:52 +01:00
Dan Abramov
cd815aafcd Check for JS files first 2016-08-04 19:08:20 +01:00
Kristóf Poduszló
156a3c6cf1 Added a reasonable config for autoprefixer (resolves #73) (#345)
* Added a reasonable config for autoprefixer (resolves #73)

* Moved autoprefixer config to webpack.config
2016-08-04 15:32:47 +01: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
Alex Zherdev
c239551713 Accept version when loading fonts e.g. font-awesome (#298)
* Accept version when loading fonts e.g. font-awesome

* Add query string support to mp4/webm
2016-07-30 18:51:27 +01:00
Alex Zherdev
c7c319e207 Webpack plugin to detect case mismatch in requires (#266) 2016-07-29 20:39:40 +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
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
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
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
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
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
024b4d4fcd Minor tweaks 2016-07-22 11:09:56 +01:00
Max
ce9fdca524 Fix webpack config 2016-07-22 11:07:45 +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
4ad5170b0b Enable hot reloading for CSS (#42) 2016-07-20 18:05:56 +01:00
Dan Abramov
2dc6d2c903 Resolve loaders relative to react-scripts (#36)
Fixes #31
2016-07-20 14:35:00 +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