mirror of
https://github.com/facebook/react.git
synced 2026-02-25 05:03:03 +00:00
part of https://github.com/facebook/react/pull/26571 merging separately to improve tracking of file renames
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.');
|