Remove default polyfills from metro-bundler

Reviewed By: davidaurelio

Differential Revision: D5423673

fbshipit-source-id: a66655cd72d56eb60a8a79a298ebfbc746b5ad10
This commit is contained in:
Miguel Jimenez Esun 2017-07-17 03:02:14 -07:00 committed by Facebook Github Bot
parent 1d30ace94a
commit 7a4eda2f70
10 changed files with 20 additions and 0 deletions

View File

@ -19,6 +19,9 @@
; "node_modules/react-native" but in the source repo it is in the root ; "node_modules/react-native" but in the source repo it is in the root
.*/Libraries/react-native/React.js .*/Libraries/react-native/React.js
; Ignore polyfills
.*/Libraries/polyfills/.*
[include] [include]
[libs] [libs]

View File

@ -6,7 +6,9 @@
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
* *
* @providesModule Array.es6
* @polyfill * @polyfill
* @nolint
*/ */
/* eslint-disable */ /* eslint-disable */

View File

@ -6,7 +6,9 @@
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
* *
* @providesModule Array.prototype.es6
* @polyfill * @polyfill
* @nolint
*/ */
/* eslint-disable */ /* eslint-disable */

View File

@ -6,7 +6,9 @@
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
* *
* @providesModule Number.es6
* @polyfill * @polyfill
* @nolint
*/ */
/* eslint-disable strict */ /* eslint-disable strict */

View File

@ -6,7 +6,9 @@
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
* *
* @providesModule Object.es6
* @polyfill * @polyfill
* @nolint
*/ */
/* eslint-disable strict */ /* eslint-disable strict */

View File

@ -6,7 +6,9 @@
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
* *
* @providesModule Object.es7
* @polyfill * @polyfill
* @nolint
*/ */
(function() { (function() {

View File

@ -6,7 +6,9 @@
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
* *
* @providesModule String.prototype.es6
* @polyfill * @polyfill
* @nolint
*/ */
/* eslint-disable strict, no-extend-native, no-bitwise */ /* eslint-disable strict, no-extend-native, no-bitwise */

View File

@ -6,7 +6,9 @@
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
* *
* @providesModule babelHelpers
* @polyfill * @polyfill
* @nolint
*/ */
/* eslint-disable */ /* eslint-disable */

View File

@ -6,6 +6,7 @@
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
* *
* @providesModule console
* @polyfill * @polyfill
* @nolint * @nolint
*/ */

View File

@ -6,7 +6,9 @@
* LICENSE file in the root directory of this source tree. An additional grant * LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
* *
* @providesModule error-guard
* @polyfill * @polyfill
* @nolint
*/ */
/* eslint-disable strict */ /* eslint-disable strict */