/
githubmr
/
facebook-react
Обзор
Документация
Войти
/
githubmr
/
facebook-react
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
main
packages/react-server-dom-webpack/src/client/ReactFlightClientConfigBundlerWebpackServer.js
23 строки
623 B
Sebastian Markbåge
[Flight] Add DebugInfo for Bundler Chunks (#34226)
18 авг 2025, 18:34
Не верифицирован
18 авг 2025, 18:34
0c89b16
Код
Авторство
О чём код?
/** * 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 */ import type {ReactDebugInfo} from 'shared/ReactTypes'; export function loadChunk(chunkId: string, filename: string): Promise<mixed> { return __webpack_chunk_load__(chunkId); } export function addChunkDebugInfo( target: ReactDebugInfo, chunkId: string, filename: string, ): void { // We don't emit any debug info on the server since we assume the loading // of the bundle is insignificant on the server. }