| 1 | /** |
| 2 | * Copyright (c) Meta Platforms, Inc. and affiliates. |
| 3 | * |
| 4 | * This source code is licensed under the MIT license found in the |
| 5 | * LICENSE file in the root directory of this source tree. |
| 6 | * |
| 7 | * @flow |
| 8 | */ |
| 9 | |
| 10 | /* eslint-disable react-internal/prod-error-codes */ |
| 11 | |
| 12 | // We expect that our Rollup, Jest, and Flow configurations |
| 13 | // always shim this module with the corresponding host config |
| 14 | // (either provided by a renderer, or a generic shim for npm). |
| 15 | // |
| 16 | // We should never resolve to this file, but it exists to make |
| 17 | // sure that if we *do* accidentally break the configuration, |
| 18 | // the failure isn't silent. |
| 19 | |
| 20 | throw new Error('This module must be shimmed by a specific renderer.'); |