mirror of
https://github.com/facebook/react.git
synced 2026-02-24 04:33:04 +00:00
* Facebook -> Meta in copyright rg --files | xargs sed -i 's#Copyright (c) Facebook, Inc. and its affiliates.#Copyright (c) Meta Platforms, Inc. and affiliates.#g' * Manual tweaks
21 lines
673 B
JavaScript
21 lines
673 B
JavaScript
/**
|
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*
|
|
* @flow
|
|
*/
|
|
|
|
/* eslint-disable react-internal/prod-error-codes */
|
|
|
|
// We expect that our Rollup, Jest, and Flow configurations
|
|
// always shim this module with the corresponding host config
|
|
// (either provided by a renderer, or a generic shim for npm).
|
|
//
|
|
// We should never resolve to this file, but it exists to make
|
|
// sure that if we *do* accidentally break the configuration,
|
|
// the failure isn't silent.
|
|
|
|
throw new Error('This module must be shimmed by a specific renderer.');
|