react/scripts/rollup
Laura buns b43eec7eaa Replace `wrap-warning-with-env-check` with an eslint plugin (#17540)
* Replace Babel plugin with an ESLint plugin

* Fix ESLint rule violations

* Move shared conditions higher

* Test formatting nits

* Tweak ESLint rule

* Bugfix: inside else branch, 'if' tests are not satisfactory

* Use a stricter check for exactly if (__DEV__)

This makes it easier to see what's going on and matches dominant style in the codebase.

* Fix remaining files after stricter check
2019-12-06 18:25:54 +00:00
..
plugins Drop the year from Facebook copyright headers and the LICENSE file. (#13593) 2018-09-07 15:11:23 -07:00
shims [Native] Add FeatureFlag to dispatch events with instance targets (#17323) 2019-11-11 11:35:29 -08:00
validate [Flight] Add Client Infrastructure (#17234) 2019-11-01 16:05:07 -07:00
build.js Replace `wrap-warning-with-env-check` with an eslint plugin (#17540) 2019-12-06 18:25:54 +00:00
bundles.js [Flight] Move Flight DOM to a Webpack Specific Package (#17372) 2019-11-15 11:46:07 -08:00
consolidateBundleSizes.js Fix sizebot (#15771) 2019-05-29 21:30:16 -07:00
forks.js Add Experimental Flight Infrastructure (#16398) 2019-10-29 14:45:47 -07:00
modules.js [Flight] Move around the Server side a bit (#17251) 2019-11-01 17:39:24 -07:00
packaging.js [Flare] Refine flow type annotations (#15950) 2019-06-21 12:32:43 +01:00
stats.js Fix sizebot (#15771) 2019-05-29 21:30:16 -07:00
sync.js Fork React Native renderer into FB and OSS bundles (#12625) 2018-04-18 13:16:50 -07:00
utils.js Refactor the build scripts (#11787) 2017-12-06 20:11:32 +00:00
wrappers.js Add UMD production+profiling entry points (#13642) 2018-09-13 17:44:08 -07:00