Follow up on @rickhanlonii's comment: https://github.com/facebook/react/pull/22670#issuecomment-956569098
const path = resolve(
    __dirname,
    '..',
    '..',
    'packages/shared/registerInternalModuleStop.js'
  );
  return String(readFileSync(path)).trim();
}
const license = ` * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.`;
const wrappers = {
  
  [NODE_ES2015](source, globalName, filename, moduleType) {
    return `/** @license React v${reactVersion}
 * ${filename}
 *
${license}
 */
'use strict';
${source}`;
  },
  
  [NODE_ESM](source, globalName, filename, moduleType) {