Daniel Ciao
03039aa3a4
Fix sourcemap directory organizing on Windows ( #2456 ) ( #2610 )
...
* Fix sourcemap directory organizing on Windows
* Update comments
2017-08-07 16:05:30 +02:00
Ade Viankakrisna Fadlil
6d42a3c049
turn on ascii_only for issue with emoji and regex ( #2596 )
2017-08-07 16:05:30 +02:00
Dan Abramov
d69e4419ee
Use Babel compact mode in production ( #2389 )
2017-08-07 16:05:30 +02:00
Andy Kenward
e12710bb5f
webpack no need for ident if using complex options anymore ( #2430 )
...
Since `v2.2.1` of webpack the need for `ident` for complex options is no longer required. See
https://webpack.js.org/guides/migrating/#complex-options
2017-08-07 16:03:41 +02:00
Will Farley
3d6ebe71d6
Update sw-precache-webpack-plugin to lastest version ( #2429 )
...
* Update sw-precache-webpack-plugin to v0.11.3
* Pin the version
2017-08-07 16:03:40 +02:00
Mico Piira
ec0f811501
Add empty mock for dgram ( #2600 )
2017-08-07 16:02:40 +02:00
Zac Kwan
e9f1371023
Added NamedModulesPlugin in webpack.config.dev.js ( #2458 )
...
* Added NamedModulesPlugin in webpack.config.dev.js
* Update webpack.config.dev.js
2017-08-07 16:00:47 +02:00
David Ascher
9114aea7ac
Disable comparisons feature in uglify compression in production ( #2379 )
...
* Disable a micro-option in uglify that appears to be buggy
See https://github.com/facebookincubator/create-react-app/issues/2376
* wrong plugin
* Add a comment
2017-08-07 15:59:41 +02:00
Zac Kwan
bfeb950404
Removed the overriding of reduce_vars to false since webpack v2.6.0 included the fixed for Uglify bug ( #2351 )
2017-08-07 15:59:41 +02:00
nicolaserny
e1224ed94b
Add tsconfig.test.json (instead of using deprecated TS_CONFIG)
2017-07-25 09:24:44 +02:00
DorianGrey
6fa3b6ae49
Use ts-jest instead of custom solution for transforming ts files.
2017-07-13 08:21:20 +02:00
Jan-André Zinser
106599d23f
Fix code-coverage reports for ts/tsx
2017-06-23 12:12:52 +02:00
William Monk
0b2821f556
Merge pull request #79 from zinserjan/fix-jest-caching
...
Jest cache busting for ts/tsx files
2017-06-23 10:36:10 +01:00
Jan-André Zinser
0618b12e9a
Jest cache busting for ts/tsx files
2017-06-07 20:58:59 +02:00
DorianGrey
5fe4a0fd52
fix(typescriptTransform): Let tsc read the config instead of requiring it
...
Requiring the config does not support tsconfig options like "extends", which is useful for using multiple configs on a single project.
2017-06-01 11:53:57 +02:00
William Monk
6bd33bd2ec
Merge remote-tracking branch 'facebook/master'
2017-05-25 08:38:39 +01:00
Ryan Sullivan
55fe1369d7
Add navigateFallbackWhitelist /__* to SW Precache config ( #2347 )
...
* Add navigateFallbackWhitelist /__* to SW Precache config
* Add comments
2017-05-24 13:07:45 +01:00
William Monk
49488e3de4
Merge pull request #62 from Place1/master
...
added source-map-loader
2017-05-24 08:49:44 +01:00
Thomas Gish
712d6dbb61
Fix setupTests extension
2017-05-22 12:51:09 -07:00
James Batt
3623213bcb
added source-map-loader
2017-05-23 00:16:18 +10:00
William Monk
b9b585f147
Fix jest tests
2017-05-22 15:15:37 +01:00
William Monk
25f6f8a250
v2.0.0-alpha
2017-05-22 09:08:49 +01:00
William Monk
32f52bebfe
Merge remote-tracking branch 'facebook/master'
2017-05-21 21:27:47 +01:00
Jeffrey Posnick
eadfad28f4
Provide a no-op SW that will be served by the dev environment. ( #2276 )
...
* Provide a no-op SW that will be served by the dev environment.
* Hide no-op service worker from user
2017-05-20 19:07:43 +01:00
Dan Abramov
ba0d0daf9c
Only enable host check if you use proxy, and add a way to opt out of it ( #2288 )
...
* Disable host check if you don't use proxy
* Add a way to opt out and document it
2017-05-20 18:34:16 +01:00
Dan Abramov
3a3be7478b
Fix a bug on empty NODE_PATH ( #2264 )
2017-05-19 20:06:15 +01:00
Dan Abramov
d24311ea79
Always resolve NODE_PATH ( #2261 )
...
* Always resolve NODE_PATH
* Update env.js
2017-05-19 19:55:57 +01:00
Dan Abramov
3cd2267256
Additional fix to service worker config for "homepage" field ( #2262 )
2017-05-19 19:41:59 +01:00
Dan Abramov
22ca584b2b
Work around Windows path issue in SWPrecacheWebpackPlugin ( #2255 )
2017-05-19 17:57:58 +01:00
Dan Abramov
f3f559937e
Ignore .env.local in test environment ( #2250 )
2017-05-19 17:18:29 +01:00
Oleg Kuzava
4a32171331
Fix read of .env variables ( #2242 )
2017-05-19 14:47:21 +01:00
Dan Abramov
55afd862c8
Move error overlay middleware ( #2216 )
2017-05-18 21:01:26 +01:00
Danil Shashkov
5f93bc4d55
ES6 syntax ( #2213 )
2017-05-18 19:05:46 +01:00
Dan Abramov
fd2a800f76
Disable Uglify reduce_vars ( #2200 )
2017-05-17 23:24:07 +01:00
Dan Abramov
d9a2974574
Tidy up some build logs ( #2197 )
2017-05-17 20:10:17 +01:00
Jeffrey Posnick
c7c3a521e2
PWA-ification, via SWPrecacheWebpackPlugin + manifest.json ( #1728 )
...
* sw-precache-webpack-plugin, SW registration, manifest.json
* Documentation + a few SW tweaks.
* Added an unregister method, too, just in case.
* More info for the READMEs.
* Add minify to SWPrecacheWebpackPlugin config
* Fix SWPrecacheWebpackPlugin typo
* Fix file references in READMEmd
* Add instructions for testing service-worker locally
* Review feedback
* Some additional PWA metadata
* Use sw-precache-webpack-plugin v0.9.1 for node >=4.0.0 support
* Review feedback.
* Add manifest.json context in a comment.
* Fix typo
* Downgrade to sw-precache-webpack-plugin 0.9.1
* Hide changes in README until 1.0
* Hide changes in User Guide until 1.0
* Hide more docs
2017-05-17 19:28:27 +01:00
Kant
e7c113eb15
Webpack config typo ( #2193 )
...
* Webpack config typo
* Webpack config more typo
2017-05-17 14:30:07 +01:00
Joe Haddad
a61be9c619
Add module scope plugin ( #2189 )
...
* Add module scope plugin
* Oops
* Add comments
* Check windows seps too
* More descriptive error
* Document it
2017-05-17 12:19:52 +01:00
Dan Abramov
65ff5481d9
Ignore Moment.js locales by default ( #2187 )
...
* Ignore Moment.js locales by default
* Update README.md
2017-05-16 23:59:48 +01:00
Dan Abramov
134d2297dd
Reenable require.ensure()
2017-05-16 16:10:10 +01:00
Dan Abramov
50aaae6c1c
Resolve regenerator runtime relative to react-scripts ( #2175 )
2017-05-16 15:40:16 +01:00
Dan Abramov
0ffed85e6c
Bump dependencies ( #2170 )
...
* Bump dependencies
* Bump CSS deps
* Somehow I missed dotenv
* Bump ESLint deps
* Tweak ESLint rules
2017-05-16 02:59:32 +01:00
Cristian
044e57b726
Adding plugin postcss-flexbugs-fixes and flexbox: 'no-2009' to Autoprefixer ( #1771 )
...
* Adding postcss-flexbugs-fixes
Using postcss-flexbugs-fixes to fix all flexbug's issues.
* Adding flexbox: 'no-2009' to Autoprefixer
It will add flexbox prefixes only for final and IE versions of
specification.
2017-05-16 01:02:38 +01:00
Dan Abramov
9b231d461d
Enable CSS sourcemaps in production ( #2168 )
2017-05-16 00:52:39 +01:00
Dan Abramov
d6dbfc0353
Support hoisting react-scripts and add require.resolve() to loaders ( #2166 )
...
* Support hoisting react-scripts
* require.resolve() loaders and configs
This makes it so that loaders and configs are resolved relative to the config rather than to the app. This seems to make more sense to me.
2017-05-15 23:47:28 +01:00
Joe Haddad
ac63130a42
Show network address on start ( #2155 )
...
* Show network address on start
* Tweak visual representation
2017-05-15 14:20:11 +01:00
James Blight
71a27c0f8b
Allow custom proxies in development ( #1790 )
...
* Change proxy handling to allow multiple proxies to be specified in package.json.
* Up webpack-dev-server to 2.4.2
Webpack Dev Server version 2.4.2 handles the external websocket upgrade
for all proxies
* Fix the listen() call
* Switch to correct default host
* Remove promises and extract to react-dev-utils
* oops
2017-05-14 21:12:54 -04:00
Siddharth Doshi
f17448e9e5
Add custom eslint formatter ( #2138 )
...
* Add custom eslint formatter
* Add formatter docs
* Update formatter docs
* Slightly tweak it
* Update README.md
2017-05-15 00:42:13 +01:00
Joe Haddad
76d2d848c6
Improve unmapper file heuristic, add limited warning support, and ignore internal errors ( #2128 )
...
* Browser sort is not stable
* Fix ordering of final message
* Register the warning capture
* Display only createElement warnings
* Use different method name
* Fix regression
* Ignore errors with only node_module files
* Ignore null files, too
* Revise count
* Revise warning
* Update overlay.js
* Add support for https://github.com/facebook/react/pull/9679
* Use absolute paths
* Trim path if it's absolute
* Make sure it's an absolute path
* Oops
* Tweak for new behavior
* Make it safer
* More resilient warnings
* Prettier output
* Fix flow
2017-05-13 14:39:32 +01:00
Valerii Sorokobatko
80a7fc391d
Feature/different env config files #1343 ( #1344 )
...
* support different env configs.
* fomrat code
* Hide doc
* Slightly rework the PR
* Remove .env in default template
* Use just one entry in the paths
* Unify env.js and loadEnv.js
* Oops, forgot these folks
2017-05-12 11:30:59 +01:00